When I load a level in editor, it loads almost instantly, but doing the same in a compiled project takes few seconds, where all the meshes in the level will pop into existence one by one.
This would not be a problem, if not for the fact that it breaks my saving system, as assets cannot be loaded from save if they are not loaded into the map. It also causes the navmesh not to load properly, causing NPCs to be immobile.
I tried using the async load asset and load stream level both at the game’s launch and right before opening the level, but the level still loads in chunks. I cannot even properly debug this behavior since I need to compile the game every time I want to test it. This does not happen in editor, or standalone game mode
Here is a comparison:
- In editor:
- Compiled:
I am at a loss about what to do about this and will probably have to scrap the entire project if not fixed. I am quite desperate.