Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.50.1
0.51.0
Issue ID
ECSB-83
Regression
No
No error is being logged when using Lambda expression with Entities.ForEach
How to reproduce:
1. Open the user-attached project
2. Add the Entities package to the project (Window → Package Manager → + → Add package from git URL)
3. Enter Play Mode
Expected result: “error DC0013: Entities.ForEach Lambda expression writes to captured variable ‘currentIslandIdSingleton' that is then read outside. This is only supported when you use .Run().” is thrown
Actual result: Expected error is not thrown
Reproducible with: 0.50.1-preview.2 (2020.3.38f1), 0.51.1-preview.21 (2020.3.38f1, 2021.3.8f1)
Couldn’t test with: 0.17.0-preview.42 - Deprecation of version gets hard-set to 0.50.1-preview.2
Reproduced on: macOS Monterey 12.0.1
Note: To add the Entities package, when doing step 2 in the field that shows up write “com.unity.entities”
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
We're only fixing 0.51 bugs in special cases - if this bug is reproducible in a supported version 1.0.0, we will address it there.