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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Add comment