Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.4.2
Issue ID
1296669
Regression
No
[Burst] InvalidOperationException is thrown when Burst package is upgraded from 1.4.1 to 1.4.2
On upgrading Burst package from 1.4.1 to 1.4.2, InvalidOperationExceptions are thrown. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Window > Package Manager > Install Burst 1.4.1
3) Upgrade Burst to 1.4.2
Actual result: InvalidOperationException is thrown in console
Expected result: No errors should be thrown in console
Occurring in: 2021.1.0a8, 2020.2.0b14, 2020.1.9f1, 2019.412f1 when Package version is upgraded to 1.4.2
Working fine in: 2020.2.0b14, 2020.1.9f1, 2019.412f1 when Package version is upgraded to 1.4.1
Note: For 2021.1 only 1.4.2 package version is available. Bug can be reproduced by installing Animation rigging first and then upgrading Burst to 1.4.2 as a dependency
Environment: Both Windows and Mac
Stack Trace:
System.InvalidOperationException: Burst failed to compile the function pointer `Int32 DoGetCSRTrampoline()`
at Unity.Burst.BurstCompiler.Compile[T] (T delegateObj, System.Boolean isFunctionPointer) [0x0014f] in D:\Unity\New Unity Project\Library\PackageCache\com.unity.burst@1.4.1\Runtime\BurstCompiler.cs:227
at Unity.Burst.BurstCompiler.CompileFunctionPointer[T] (T delegateMethod) [0x00006] in D:\Unity\New Unity Project\Library\PackageCache\com.unity.burst@1.4.1\Runtime\BurstCompiler.cs:119
at Unity.Burst.Intrinsics.X86.CompileManagedCsrAccessors () [0x00000] in D:\Unity\New Unity Project\Library\PackageCache\com.unity.burst@1.4.1\Runtime\Intrinsics\x86\Csr.cs:245
at Unity.Burst.Editor.BurstLoader..cctor () [0x00161] in D:\Unity\New Unity Project\Library\PackageCache\com.unity.burst@1.4.1\Editor\BurstLoader.cs:204
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Resolution Note:
An editor restart must always follow a burst update due to the way burst works today. During the update the user should be asked by a popup window to restart the editor and thus, all the subsequent exceptions should be ignored and they will be cleared out after restart.