Search Issue Tracker
Fixed
Fixed in 1.0.0
Votes
4
Found in [Package]
1.0.0-pre.6
Issue ID
NCCBUG-135
Regression
No
MissingReferenceException spam after deleting a GameObject with NetworkRigidbody component before its parent with NetworkObject
Reproduction steps:
1. Open the user's attached project "NGO-bug-reporting.zip"
2. Enter Play mode
3. Select "NetworkManager" under "Don't Destroy On Load" in the Hierarchy window
4. Click "Start Host" in the Inspector window
5. Delete "NetworkRigidbody" in the Hierarchy window
6. Delete "NetworkObject" in the Hierarchy window
Expected result: No errors in the Console window
Actual result: Error spam in the Console window:
MissingReferenceException: The object of type 'NetworkTransform' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
Reproducible with: 1.0.0-pre.4, 1.0.0-pre.5 (2020.3.30f1), 1.0.0-pre.6 (2020.3.30f1, 2021.2.15f1, 2022.1.0b11)
Could not test with: 2019.4.36f1 (Package is not available), 2022.2.0a7 (Missing "U Net Transport" Script)
Notes:
1. Not reproducible if the child only has a NetworkTransform component
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
- TextShadow properties are not applied when displayed in a custom MenuItem Window
Add comment