Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
netcode-gameobjects-1.12.2
2.2.0
Issue ID
MTTB-1116
Regression
No
Error "NullReferenceException: Object reference not set to an instance of an object" when checking client write permissions in NetworkList.cs
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Home Screen.unity” Scene
3. Enter the Play Mode
4. Click the Button with the text “Create Lobby“
5. Enter anything in the Player Name field
6 Click the Button with the text “Create“
7. Observe the Console
Expected result: No Errors exists
Actual result: Error “NullReferenceException: Object reference not set to an instance of an object“ is present
Reproducible with: 1.12.2 (2022.3.60f1), 2.2.0 (6000.0.42f1, 6000.1.0b9, 6000.2.0a7)
Reproducible on:
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
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
- The search field has an additional icon that has no functionality
- Splash Image logo is shown after being removed when pressing the Preview button
- Crash on GenerateParticleGeometry when creating certain particles
- HD Sample Buffer returns black for Rendering Layer Mask when Custom Pass Volume is not active
- SpriteRenderer has wrong input color when associated material uses SRPBatcher
Resolution Note:
This issue revolved around the user's implementation and use of and allocation (under different contexts) of a static NetworkList. We will be adding additional notes to the documentation to specify that static NetworkLists and NetworkVariables are not supported as state updates for these need to be associated with a specific NetworkBehaviour, their assigned NetworkBehaviourId(s), and their associated NetworkObject(s).