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
- [Linux] Navigating Prefab Components in Overrides window shows rendering artifacts in the Editor
- Prefab Overrides window cuts-off Component labels across multiple Components
- Opening Memory Settings documentation from Project Settings window opens missing page
- Animated GameObjects ignore Shader keywords when running on VisionOS Player with Polyspatial
- Quickly clicking "Open query in Search Window" in the Hierarchy twice opens the two Search tabs at the same time
davenirline
Jul 22, 2020 09:32
We can't upgrade to new versions because of this issue.