Search Issue Tracker
Fixed in 1.4.1
Votes
0
Found in [Package]
preview.10 - 1.3.0
Issue ID
1241829
Regression
No
[Burst] Unexpected exception in Burst.Compiler.IL.Helpers.MethodDecoderException when compiling generics
How to reproduce:
1. Create a new Unity project
2. Download and import the Burst package
3. Import the tester-attached script(TestScript.cs)
4. Open the Burst Inspector (Jobs > Burst > Open Inspector)
5. Select SC.M(T)
Expected result: no exceptions are thrown
Actual result: an unexpected exception is thrown
Reproducible with: 2018.4.23f1, 2019.3.12f1, 2020.1.0b8, 2020.2.0a9
Could not test with: 2017.4.40f1(Burst unavailable)
Reproducible with package versions: 1.1.1, preview.10 - 1.3.0
Full exception:
Unexpected exception Burst.Compiler.IL.Helpers.MethodDecoderException: Unable to decode `SC, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::M(T)` ---> Burst.Compiler.IL.Helpers.MethodDecoderException: Unexpected char `)` while decoding assembly name reference, expecting `,` instead of `)`
at Burst.Compiler.IL.Helpers.CecilInterop+MethodParser.Expect (System.Char ec, System.String context) [0x0004d] in <e0b00619b8b54f309444eece5ebf929e>:0
at Burst.Compiler.IL.Helpers.CecilInterop+MethodParser.DecodeType () [0x0007e] in <e0b00619b8b54f309444eece5ebf929e>:0
at Burst.Compiler.IL.Helpers.CecilInterop+MethodParser.DecodeMethod () [0x00059] in <e0b00619b8b54f309444eece5ebf929e>:0
at Burst.Compiler.IL.Helpers.CecilInterop.DecodeMethodFromString (System.String fullMethodName) [0x00017] in <e0b00619b8b54f309444eece5ebf929e>:0
--- End of inner exception stack trace ---
at Burst.Compiler.IL.Helpers.CecilInterop.DecodeMethodFromString (System.String fullMethodName) [0x00038] in <e0b00619b8b54f309444eece5ebf929e>:0
at Burst.Compiler.IL.Jit.JitCompilerService+CompilerThreadContext.Compile (Burst.Compiler.IL.Jit.JitCompilerService+CompileJob job) [0x00291] in <e0b00619b8b54f309444eece5ebf929e>:0
While compiling job: SC, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::M(T)
at <empty>:line 0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- Freeze/crash with multiple StackTraces when opening a specific project
- Crash on TypeContainer<int>::rtti when deleting a Render Texture that is used by the Main Camera
- Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
- Color Node Alpha slider displays incorrect value when viewed in Shader Graph
Add comment