Search Issue Tracker
Fixed in 0.6.0-preview.24
Votes
0
Found in [Package]
0.2.0-preview.18, 0.4.0-preview.10
Issue ID
1202703
Regression
No
[ECS] Editor silently crashes when using generic component in a foreach lambda
How to reproduce:
1. Open the attached project ("case_1202703-Unity-EntityQueryDescBug.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
Expected results: Unity continues to play
Actual results: Unity silently crashes
Reproducible with: 2019.3.0f4, 2020.1.0a18
Could not test with: 2017.4 (ECS not supported) 2018.4, 2019.2 (project breaking after the downgrade and package API changes)
Note: Commenting out lines 26 to 34 in "SomeSystem.cs" script stops the project from crashing
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
Resolution Note (fix version 0.6.0-preview.24):
Fixed with an error saying:
Type Timer`1& cannot be used as an Entities.ForEach parameter as generic types and generic parameters are not supported in Entities.ForEach