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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 0.5.0-preview.17):
Fixed in package version 0.5.0-preview.17