Search Issue Tracker
Fixed in 0.5.0-preview.17
Votes
0
Found in [Package]
0.2.0-preview.18, 0.4.0-preview.10
Issue ID
1203504
Regression
No
[ECS] Invalid IL code error is thrown when using Job.WithCode lambda
How to reproduce:
1. Open the user's attached project
2. Enter Play Mode
3. Inspect the Console
Expected results: No errors are thrown
Actual results: "Invalid IL code in Test:OnUpdate (Unity.Jobs.JobHandle): IL_0068: call 0x06000011" error is thrown
Reproducible with: 2019.3.0f6, 2020.1.0a21
Couldn't test with 2017.4 (package not supported), 2018.4, 2019.2 (DOTS do not support backward compatibility)
Reproducible with package versions: 0.2.0-preview.18, 0.4.0-preview.10
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 0.5.0-preview.17):
Fixed in package version 0.5.0-preview.17