Cesium collapses when i press “simulate” button in Unreal
What cause this and how to avoid? (the world terrain disappear)
In Simulate mode, only cameras in the level are used to select tiles. The Editor camera that is shown in the viewport is intentionally not used to select which parts of the model to show (and their level-of-detail). So if you don’t have any cameras in the level, or if they’re far away from where the viewport is looking, you’ll see nothing.
It doesnt solve anything. I put the camera and still see nothing. Please provide me more information what to do becouse any time i press simulate literally ALL the terrain disappear. Doesnt matter if there is a camera or not or the camera is selected in the view or not.
Thanks.
I don’t know why that would happen. Does the same thing happen in the Cesium for Unreal Samples project, or only in your own project?
Yes, i made a test and half of the world disappear also in the sample projects when i press simulate.
Please give me a detailed description about how to avoid this. Could you?
Kevin Ring via Cesium Community <notifications@cesium.discoursemail.com> ezt írta (időpont: 2023. márc. 21., K, 3:49):
This is sort of working as intended, but admittedly confusing. It’s not obvious to me how it should work…
In a Simulate session, the Editor camera does not affect tile selection. This is useful if you want to use the Editor camera to examine the world as it really is without affecting it. It’s the same as starting a normal Play-in-Editor and then clicking the Eject button. You can fly the Editor camera around and see the actual state of the world, including the missing parts of the globe that aren’t drawn because no in-game camera can see them. This is often useful, and I wouldn’t want to change it! And I’m not sure if we can distinguish between these two modes (“Play plus eject” versus “Simulate”).
Similarly, in Simulate mode, you can move the player pawn and watch the tile selection change. Or you can possess it and the tile selection will update live.
But it sounds like you’re expecting to see a normal globe in the Editor view. I guess I don’t understand the potential use-cases here well enough to say how this all should work. Maybe you can tell us a bit more about what you’re using Simulate mode for.
As i see in any case i touch “simulate” button it wreck up my scene and the tiles doesnt load anymore in render or game. So the best is to just never touch simulate.
Now i made a test, i had to recover all the project and after just hit “play” i got the same results i need.
Sorry for ping you with this and thanks for the fast assistance! Thank you.