Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.15k
stars
435
forks
source link
NetworkManager Attempts to use MarkSceneDirty in Playmode Testing #842
Describe the bug Code in question here:
https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi/blob/023b64aeecaeee7461bdf989000ff9a796cfde1b/com.unity.multiplayer.mlapi/Runtime/Core/NetworkManager.cs#L217-L223
This is what I did to fix:
To Reproduce Steps to reproduce the behavior:
Actual outcome An exception is thrown saying MarkSceneDirty cannot be used in play mode.
Expected outcome MarkSceneDirty should be avoided when in playmode.
Environment (please complete the following information):