Search Issue Tracker
Fixed in pre 0.50.0
Votes
0
Found in [Package]
0.14.0-preview.18
Issue ID
1266176
Regression
No
[ECS] "InvalidProgramException: Invalid IL code" error when calling instance method
Reproduction steps:
1. Open attached project "InvalidILCode.zip" and scene "SampleScene"
2. Enter Play Mode
3. Observe Console window
Expected result: No errors
Actual result: "InvalidProgramException: Invalid IL code" error
Reproducible with: 2019.4.10f1 (Entities 0.11.1-preview.4), 2020.1.6f1, 2020.2.0b3 (Entities 0.14.0-preview.18)
Could not test with: 2018.4.27f1 (console errors break project)
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
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
Resolution Note (fix version pre 0.50.0):
No longer reproduces in 2020.3.25f1