Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
0.50.0-preview.24
Issue ID
1417347
Regression
No
DOTS Entities throws a compilation error when field variable is used in GetComponent inside ForEach loop
How to reproduce:
1. Open the user's attached project "Dots compiler bug.zip"
2. Observe the Console window
Expected result: No error occurs
Actual result: Error "System.NullReferenceException: Object reference not set to an instance of an object." occurs
Reproducible with: 0.50.0-preview.24 (2020.3.33f1)
-
Resolution Note:
Fixed in 0.50.1-preview.2
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
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
This is a duplicate of issue #1415829