Search Issue Tracker
Active
Votes
0
Found in [Package]
netcode-gameobjects-2.4.3
Issue ID
MTTB-1431
Regression
No
"NetworkBehaviours require a NetworkObject" pop-up throws NullReferenceException when it opens on a Prefab which is a child of another Prefab
How to reproduce:
1. Open the attached project "Test"
2. In the Project window, open the "Cube" Prefab
3. In the Hierarchy, select the "Capsule" GameObject
4. Make any change in the Inspector (e.g. on the Script Component)
5. In the Inspector, click "Overrides" under the Prefab field
6. Click on the changed Component to call the pop-up
7. In the "NetworkBehaviours require a NetworkObject" pop-up click "No (manually add it)" and observe the Console
Expected results: No errors are thrown
Actual results: "NullReferenceException" is thrown
Reproducible with: 6000.0.52f1, 6000.1.10f1, 6000.2.0b8, 6000.3.0a1
Reproducible on: macOS Sequoia 15.4 (M1)
Not reproducible on: No other environment tested
Note: Reproducible when clicking any option in the pop-up
First lines of error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.Close () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorWindow.cs:1097)
UnityEditor.PopupWindowWithoutFocus.OnGlobalMouseOrKeyEvent (UnityEngine.EventType type, UnityEngine.KeyCode keyCode, UnityEngine.Vector2 mousePosition) (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/PopupWindowWithoutFocus.cs:96)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
Add comment