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)
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
davenirline
Jul 22, 2020 09:32
We can't upgrade to new versions because of this issue.