Search Issue Tracker

Fixed

Fixed in 1.0.1

Votes

4

Found in [Package]

1.0.0-pre.6

Issue ID

NCCBUG-136

Regression

No

NullReferenceException' when GameObject with 'NetworkTransform' component is a child of a 'NetworkObject'

Package: Multiplayer Netcode for GameObjects

-

Reproduction steps:
1. Open the attached 'NGO-bug-reporting' project
2. Open the 'SampleScene'
3. Enter Play mode
4. Observe the 'NetworkManager' GameObject in the Inspector and click on the 'Start as Host'

Expected result: No errors are in the Console
Actual result: 'NullReferenceException' is thrown in the Console

Reproducible with: 1.0.0-pre.5 (2020.3.30f1), 1.0.0-pre.6 (2020.3.30f1, 2021.2.14f1, 2022.1.0b11, 2022.2.0a7)
Could not test with: 2019.4.36f1 (no 'Netcode for GameObjects' package available)

Note:
- The same problem happens for a 'NetworkRigidbody' component

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.