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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
We don't support multidimensional arrays since they can be expressed as a single dimensional array.
See previous comments for workaround.
Closing.