Search Issue Tracker
Fixed in 0.6.X
Votes
2
Found in [Package]
preview.10 - 0.4.0
Issue ID
1205998
Regression
No
Entities.ForEach Lambda expression causes compiler error
How to reproduce:
1. Open the "Repro.zip" project
2. Check the console
Actual result: Error appears in the console.
Expected result: No errors appears.
Reproducible with: 2020.1.0a18 (preview.10 - 0.4.0), 2019.3.0f4 (preview.10 - 0.4.0).
Notes:
- The error:
"error DCICE001: Entities.ForEach Lambda expression uses something from its outer class. This is not supported. Seeing this error indicates a bug in the dots compiler. We'd appreciate a bug report (About->Report a Problem). Thnx! <3"
- The Entities.ForEach method is not implemented in 2019.2 and earlier.
-
Unity-Jochen
Feb 18, 2020 16:04
Nevermind my last comment. The update was broken. After a Unity crash the update reimported and the issues seems to be gone.
-
Unity-Jochen
Feb 18, 2020 15:58
I just updated to Entities 0.6.0 and Burst 1.2.3 but the problem is still the same. Please reopen the issue
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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Resolution Note (fix version 0.6):
The problem now is correctly diagnosed and shows according error message.