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 warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.