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.
Comments (2)
-
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
Resolution Note (fix version 0.6):
The problem now is correctly diagnosed and shows according error message.