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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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