Search Issue Tracker
Fixed in 0.14.X
Votes
0
Found in [Package]
0.11.1-preview.4
Issue ID
1259225
Regression
No
"Unexpected error while post-processing lambdas" error is thrown when entity query with .WithDeallocateOnJobCompletion is used
How to reproduce:
1. Open the attached project "1259225.zip"
Expected result: no errors are thrown to the Console
Actual result: "Unexpected error while post-processing lambdas" error is thrown to the Console
Reproducible with: 2019.4.2f1 (0.6.0-preview.24, 0.11.1-preview.4), 2020.1.0b13 (0.11.1-preview.4), 2020.2.0a15 (0.11.1-preview.4)
Could not test with: 2018.4.24f1, 0.5.1-preview.11 and earlier - console errors while downgrading
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 0.14):
Fixed with better error message that actually describes the problem: "error DC0012: WithDeallocateOnJobCompletion requires its argument to be a local variable that is captured by the lambda expression."