Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
0.2.0-preview.18, 0.5.0-preview.17
Issue ID
1204905
Regression
No
[ECS] NullReferenceException is thrown when trying to access statically allocated array
How to reproduce:
1. Open the attached project ("case_1204905-ECS-OnCreate.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect the Console
Expected results: No errors are thrown
Actual results: "NullReferenceException" error is thrown
Reproducible with: 2019.3.0f6, 2020.1.0a21
Couldn't test up to 2019.3 (ECS does not support backward compatibility)
Reproducible with package versions: 0.2.0-preview.18, 0.5.0-preview.17
Workaround: Replace the '=' with '=>' to turn it into an expression-bodied property
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Add comment