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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
This is a duplicate of issue #1415829