Search Issue Tracker
Duplicate
Votes
2
Found in [Package]
0.13.0-preview.24
Issue ID
1261962
Regression
Yes
NullReferenceException when passing a NativeArray<Entity> to a struct
How to reproduce:
1. Open user attached project "AStarErrorReport.zip"
2. Open "AStarErrorTest" Scene
3. Enter Play Mode and observe the console error
Expected result: NativeArray is passed to a struct
Actual result: NativeArray is not passed to a struct and an error appears in the console: "NullReferenceException: Object reference not set to an instance of an object" or "IndexOutOfRangeException: Index 0 is out of range of '0' Length."
Reproducible with: 0.10.0-preview.6, 0.11.1-preview.4, 0.13.0-preview.24 (2019.4.3f1, 2019.4.5f1, 2020.1.0f1, 2020.2.0a19)
Not reproducible with: 0.10.0-preview.6, 0.11.1-preview.4 (2019.4.2f1)
Couldn't test with: 2018.4.25f1 (console errors)
Comments (1)
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
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
davenirline
Jul 22, 2020 09:32
We can't upgrade to new versions because of this issue.