Search Issue Tracker
By Design
Votes
0
Found in [Package]
netcode-gameobjects-1.9.1
netcode-gameobjects-2.0.0-exp
Issue ID
MTTB-264
Regression
No
"NullReferenceException" is thrown when accessing two-dimensional array which was transported via RPC
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene” Scene
3. Enter Play Mode
4. Observe the Console
Expected result: No errors are logged in the Console
Actual result: “NullReferenceException” is logged in the Console
Reproducible with: 1.6.0 (2022.3.12f1), 1.9.1 (2021.3.38f1, 2022.3.27f1), 2.0.0-exp.2 (6000.0.0f1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: On up to 1.7.1 version, while the exception is thrown, the contents of the array are also logged in the Console, while in newer versions, only the exception appears
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
- “Baking ReferencedPrefabAuthoring!” errors are thrown when creating or deleting unrelated GameObjects in a SubScene that references prefabs
- Cannot scroll down to see all UI Builder Inspector items after content is resized
- Crash on SceneTracker::SetObjectDirty when entering Play mode on a project with specific Assets
- UI Toolkit's TextInput element does not inherit layout parameters from the TextField element when TextField.multiline is true
- The TileMap grid in the Tile Palette is not visible when Screen Space Ambient Occlusion is enabled
Resolution Note:
We don't support multidimensional arrays since they can be expressed as a single dimensional array.
See previous comments for workaround.
Closing.