Hello All!
I’ve been stuck with a weird bug and I just have no idea how to fix it… Bug Description 5 computers are connected to the same LAN
- One computer creates a game as a Listen Server
- It loads the map, gets a pawn and all actors receive the BeginPlay events
- The other 4 computers find the session and join the game right away
- The first 2 computers to join have no problems.
- The last 2 computers to join are “stuck” just after loading the level. There is no BeginPlay called on any actors. No actors in the map receive the BeginPlay event.
More information:
- The spawn actor works fine (no BeginPlay but it’s spawned on the “stuck clients”)
- The replication works fine (You can see actors moving on the “stuck clients”)
- Doesn’t appear when the game is created in PIE and the 4 other computers are Standalone
- We are using Advanced Session Plugin to join
Fix:
- When I open the console and I write “ke” or “te” (any 2 letter strings), BeginPlay is triggered on the 2 clients
- If I call the node “Cancel Async Loading” on the GameMode, BeginPlay is triggered
- Removing all assets from the map -> Joining an empty map
- Playing at only 4
- Sometimes, waiting for +/- 30-60” fixes the problem
Do nothing:
- Removing all plugins
Thoughts:
- Any net.* command I could use?
- Any Project settings I could change?
- Any session modifications I could try?
- Any way to “repair” an UE4 project?
- We are using a lot of “cast” in our BP and we do have circular references. Is it a problem?
- We have a lot of redirectors, might be that?
- Any way to know more about the problem?
- What is the node “Cancel Async Loading” actually doing?
I’ve been stuck on that bug for a week right now… Any insight would be much appreciated!