Hello to all.
I have a problem with Cesium ( And I have detected that it is Cesium that is giving me the problem ).
I have a Level Sequencer to make a kind of Tour for some areas that I have finished.
The problem is that if I have Cesium in the world, it goes at very low FPS, especially when the camera rotates.
If I remove it directly from my outliner, the cinematic goes fine.
If I do a Hidden In Game in the sequencer, it still works badly.
The truth is that I don’t know what to try and that’s why I need help, I hope we can solve it together. Thank you all very much in advance.
I’m using version 5.3.2
Hi @falutomencolo , welcome to the community!
This is one of those unfortunate cases where what is supposed to be a feature actually ends up being a bug in a certain use case.
Most people who are using Level Sequences are using it to record videos. When recording videos, it’s important to make sure that tilesets have a chance to load fully for each frame before snapping the frame. So when Cesium for Unreal detects that it is running under the control of a Level Sequence, its Update method purposely waits for all data to load before continuing.
But it sounds like you’re not recording a video. So in your case, waiting for tiles to load just makes everything run really slowly.
We have an issue capturing this problem, and it also includes a workaround that you can use:
opened 12:43AM - 24 Aug 23 UTC
bug
Cesium for Unreal detects when a sequence is active and it switches into an alte… rnate mode where each render frame waits for all data to load before proceeding. This will definitely cause the frame rate to be lower, but the intention is that sequences are usually used to record videos, and it's more important to get a high quality recording than it is to record the video quickly.
But a Level Sequence can also be used for general changes over time in a level, not just for recording videos. And in that scenario, this "wait for all the data each frame" logic is highly undesirable.
I'm not sure if there's a way to programmatically distinguish the video case versus the normal play case. If not, the next best thing is probably to add a user-configurable option on the Cesium3DTileset.
1 Like
@Kevin_Ring
Exactly, I don’t have it to record videos. I have it to make a cinematic when I enter my app.
The app is changing every week, so recording a video would be very time consuming.
Is there any solution for this issue? The truth is that this kind of thing is limiting me a lot.
Thank you very much again.
Yes. As I mentioned above, there’s a workaround mentioned in the linked issue.
1 Like
@Kevin_Ring thank you for your quick responses, it is very important.
Do I need to do a ‘Play Movie Sequencer’ when the animation is finished or is it not necessary?
Do I need to do a ‘Play Movie Sequencer’ when the animation is finished or is it not necessary?
No, that should not be necessary.
1 Like