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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution 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.