Search Issue Tracker
Fixed
Fixed in 1.0.0-pre.7
Votes
2
Found in [Package]
1.0.0-pre.6
Issue ID
NCCBUG-142
Regression
No
NetworkObject is destroyed when NetworkManager Host is started and stopped 2 times
How to reproduce:
1. Open the attached project "NetworkBugProject.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Enter Play Mode
4. Select DontDestroyOnLoad>NetworkManager in the Hierarchy window
5. Press "Start Host" in the Inspector window
6. Press "Stop Host"
7. Repeat steps 5-6
Expected results: NetworkObject is not destroyed
Actual results: NetworkObject is destroyed
Reproducible with: 1.0.0-pre.5, 1.0.0-pre.6 (2020.3.32f1, 2021.2.17f1, 2022.1.0b13, 2022.2.0a8)
Could not test with: 2019.4.37f1 (Netcode for GameObjects unavailable)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 1.0.0-pre.7):
This has been fixed in either
https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/1809
https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/1769
I used the commit b5f4195c8ce26294ff6f29d9870e3d546628ff92 to verify it doesn't repro