How to fix freeze when use Open Level in c++

I am using level as world partition and for me to switch between 2 levels I have to use Open Level but when Open Level is run it causes the screen to freeze for a while. Does anyone have a way to fix it and why is it like that?

Greetings @Nhan226

Is it crashing following the freeze or just freezing for a moment and then going on as normal? Also, check your logs and post your crash log here if it is indeed crashing. I’ll be happy to take a look. Thanks!

It just freezing for a moment and then going on as normal. How to fix it. You can guide me?

Sure! I’d be happy to help! Can you provide me with your system specs? Also, does this only occur in one specific UE Versions or multiple? (5.3, 5.0, etc)



I am using ue5.2.1

Thanks! Specs look great. How many meshes and such do you have in the level that this is happening in? Or is it happening in all levels?

i have a lot of meshes on level such as grass, car, … And when I run the Open level command, it will stand for about 5 seconds and then open the level. Currently, I only have the problem on the most severe level, so I want to ask if there is any way to fix it without editing the code of the Open Level function or any way to prevent it from freezing for 5 seconds.

If it’s just the heavier levels and it’s due to the amount of content that has to load it could be tricky. When you have a ton of assets, meshes, etc it can do that. You could go up to ‘Show’ and uncheck some of the options 1 by 1 and reload. Then see if you can narrow down which particular assets are causing the issue. But, if it’s just the sheer amount of content in that level, you’d have to make decisions on what to sacrifice for performance.