Hi everyone !
1. A concise explanation of the problem you're experiencing.
I have a webpage displaying a cesium viewer with some entities with 3D models.
When i try to instanciate a second cesium viewer, AFTER the first one is created, i experience a shader compile crash.
If the two viewers are instanciated at the load of the page, no errors.
It only appears if the second viewer is created a few seconds after the first one, or later.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
I tend to reproduce the same error in sandcastle.
It's not exactly the same error message than the error in my website, but it's the same behavior.
here's a sandcastle:
You can comment the setTimeout, and uncomment the call to "add" method.
You'll see that if the add method is called inline, no error.
If it's called after 2s in the timeout, crash.
I think it's the same error.
You can also notice that if the 3D models are not added to the second viewer, no error.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I need to have secondary viewpoint of the situation in a separate view.
4. The Cesium version you're using, your operating system and browser.
Angular 6
npm Cesium 1.55, with explicit rendering on.
Chrome up-to-date.(72)
Windows 10
This crash didn't happened in the cesium 1.49.
I hope you can find something for me.
Here's my log in my website:
