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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #1415829