CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
902 stars 287 forks source link

Cesium causes virtual editors and runtime to lag and become unresponsive #1344

Open newpeople123 opened 6 months ago

newpeople123 commented 6 months ago

I use the CesiumForUnrealSamples program to start and run in editor mode, then continuously adjust the perspective, and then stop running. At this time, the editor will lag and become unresponsive. After waiting for a period of time (which is not fixed), the editor will resume interaction. Similar problems also occur when switching perspectives in sequence.

newpeople123 commented 6 months ago

I guess it might be because I switched my perspective too quickly, causing too many 3tiles requests and resulting in thread blocking

csciguy8 commented 6 months ago

I haven't encountered this, do you think you can give us more information?

Thanks

newpeople123 commented 6 months ago

I haven't encountered this, do you think you can give us more information?

  • What version of Unreal are you using?

  • What version of Cesium of Unreal?

  • What platform are you running on? (windows, linux, etc)

  • How are you "adjusting the perspective? Which window and property are you changing?

Thanks

I am using UE version 5.3.2, and Cesium version is the latest version. It runs on a Windows system and uses the W A S D key to quickly move the viewpoint before stopping it. The editor will lag, and this issue also occurs in other versions of UE and old versions of Cesium plugins, which often occur during quick movement of viewpoints

csciguy8 commented 6 months ago

This is indeed odd. We haven't seen similar lag in house.

Do you happen to have another machine that you can test on? Maybe it's something with your specific device?

Any chance you can make a video of it occurring?