Hi everyone. As you can see, my map (a random portion of it) is disappearing in play mode. You can see I loaded the whole map in world partition but at a certain point, I fall into the ocean and the terrain disappears.
some more info:
I have 3 landscapes, and the portion of landscape disappearing overlaps another landscape
I just started a new project in 5.2
In the 2nd picture I just added a spline around the area that should not have water
Also I can see in the first photo your world partition outliner does not show the static mesh’s in your area. They need to appear in the Partition outliner for it to work.
Ok, please go to world settings under World Partition enable level streaming. Try to select the mesh that keeps disappearing and turn off is spatially loaded, and see if that helps. Load all your cells outside of the landscape just select the hole grid in the world partitioner and ensure all cells are loaded. Though this shouldn’t matter once you run the game it’s all in run time.
Also I work more in Unreal Engine 4 and have not gotten deep into Unreal Engine 5 my best guess here would be to open the world partitioner data layers outliner and make sure everything is in the active one that holds your landscape.
Thanks, I tried that but didn’t work. I decided to take another path and created a single big map. Now the problem is the game doesn’t build.
I get this error:
[2023.05.17-17.54.57:130][309]LogWindows: Error: Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 241]
[2023.05.17-17.54.57:130][309]LogWindows: Error: Ran out of memory allocating 181029600 bytes with alignment 4. Last error msg: The paging file is too small for this operation to complete..
I can post the whole error log if needed.
My dev machine specs:
Yeah, Now I think you just increased the map size to much and it’s eating all your memory and definitely should not eat up (64 GB) of ram.
You should not try to do anything that’s preventing you from building your project. This seems to be more of a project settings issue since looking at your picture seems to be the default game level for Unreal Engine 5. Try recreating your map in a completely empty map. It’s definitely how this map was made.
I also don’t know how exactly using more than 1 landscape works with World Partition.
Yeah sure no problem I like helping people, I did not know this was an HLOD issue, if you mentioned that I probably would have said it was an Engine issue and to rebuild with different settings.
Yeah look around for the HLOD fix I am sure you will find it.