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
1203905
Regression
No
[ECS] Invalid IL code is generated and errors are thrown when using ECS IL generation
How to reproduce:
1. Open the attached project ("case_1203905-Onmaku.zip")
2. Open Test Runner
3. Run the tests ("E7.Onmaku.SimfileEditor.Tests.dll > SimfileEditorTests > InitializeTest > BasicAction")
4. Inspect the console
Expected results: Tests succeeds, no errors in the console (generated IL code is valid)
Actual results: Test fails, "InvalidProgramException: Invalid IL code: ldflda" errors are thrown
Reproducible with: 2019.2.17f1, 2019.3.0f4, 2020.1.0a18
Couldn't test with 2017.4 (ECS package is not supported), 2018.4 (project breaking after downgrading)
Reproducible with package versions: 0.2.0-preview.18, 0.4.0-preview.10
Note: With older ECS versions (0.2.0-preview.18) the IL error is "stfld" instead of "ldflda"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
- Selection highlight is drawn in an Animation Window when clicking in another Animation Window after highlighting items in the first one
Add comment