How to create instances of sublevel in multiplayer game?

anonymous_user_1ad8474a
Mon, 06 May 2019 14:10:13 +0000
Rendering

Hi, i’m trying to generate map with rooms. I decided to store every room in sublevel, so i can bake light for each of them and then place them in persistent level. While generating i’m creating some copies of each sublevel. In singleplayer it’s ok, but in multiplayer players disconnects for some reason. I was using both “Create instance / Load Level Instance”, but both of them dont fix it.

As i understand the problem is here:

" LogPlayerController: Warning: ServerUpdateLevelVisibility() ignored non-existant package ‘/Game/Maps/Medieval/SubLevel_Instance1’ "

After which i get:

“LogNet: UNetConnection::Close: …”
“LogNet: NetworkFailure: ConnectionLost, Error: ‘Your connection to the host has been lost.’”

Looks like server is trying to find instance of sublevel on disk but of course cant.

Is there a way to fix it, or may be another way to spawn rooms with baked lighting?(I need to bake rooms in unreal, as I am constantly changing something)

4 posts - 4 participants