HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
112 stars 22 forks source link

Fix ensure on pm.ForceGameOver in client net mode with 2 clients #929

Closed Leroy231 closed 2 months ago

Leroy231 commented 4 months ago

This may be fixed due to https://github.com/HaywireInteractive/OnAllFronts/pull/506, just need to verify.

Ensure happens because we don't undo agent composition changes because UPossessSoldierEntity_AsyncAction::UnPossessControlledSoldier skips calling MulticastUpdateMassAgentSyncTagsForCharacterPossessionByAI in game over case; should it instead still call on client but just skip the move target fragment addition in game over case?

gilsonmandalogo commented 2 months ago

https://github.com/HaywireInteractive/OnAllFronts-Public/assets/6529792/e50e70a8-762d-4187-81d1-acf7bfc83aca

It's working in client net mode with 2 clients.