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
- WebGPU error When over 2GB memory consumption
- WebGL error When over 2GB memory consumption
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
Add comment