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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
This is a duplicate of issue #1415829