resium
resium copied to clipboard
3DTilesets do not work after viewer is recreated
After the Viewer is recreated e.g because a readOnly Prop is updated the 3DTileset are no longer working.
https://codesandbox.io/p/devbox/elastic-thunder-wvx2n3?file=%2Fsrc%2FApp.tsx%3A45%2C11-45%2C68
In the example cesium and the 3D Tileset is loaded and after 2 seconds the Base Layer changes. The viewer gets recreated but the Tilesets don't get updated to the changed viewer
same behavior in with resium 18.3.12 and cesium 1.123.1 https://codesandbox.io/p/devbox/muddy-water-g3ghrf
Same here for me, as soon as I turned StringMode on the issue popped up, which essentially does what is indicated here. I find that mode pointless regardless of how many argue for it. Sorry, been doing React since the beginning, worst decision the team ever made. So, I once again leave StrictMode off.