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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
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.