Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.2.0, 1.2.3
Issue ID
1252493
Regression
No
[Burst] System.InvalidOperationException thrown On updating Burst package
System.InvalidOperationException thrown On updating Burst package.
Steps to Repro:
1. Create a new Project
2. Edit > Project Settings > Package Manager > Enable Preview Packages
3. Install Window > Package Manager > Burst > 1.2.3
4. After getting installed update the Burst package to 1.3.0
Expected Result:
Package should be updated without any exception
Actual Result:
System.InvalidOperationException is thrown
Reproducible on: 2020.2.0a13, 2020.1.0b11, 2019.3.16f1, 2018.4.23f1
Environment: Windows 10 and Mac 10.14
StackTrace:
System.InvalidOperationException: Burst failed to compile the function pointer `Int32 DoGetCSRTrampoline()`
at Unity.Burst.BurstCompiler.Compile[T] (T delegateObj, System.Boolean isFunctionPointer) [0x0015e] in C:\Users\Admin\Downloads\New Unity Project (124)\Library\PackageCache\com.unity.burst@1.3.0\Runtime\BurstCompiler.cs:176
at Unity.Burst.BurstCompiler.CompileFunctionPointer[T] (T delegateMethod) [0x00001] in C:\Users\Admin\Downloads\New Unity Project (124)\Library\PackageCache\com.unity.burst@1.3.0\Runtime\BurstCompiler.cs:81
at Unity.Burst.Intrinsics.X86.CompileManagedCsrAccessors () [0x00001] in C:\Users\Admin\Downloads\New Unity Project (124)\Library\PackageCache\com.unity.burst@1.3.0\Runtime\Intrinsics\x86\Csr.cs:191
at Unity.Burst.Editor.BurstLoader..cctor () [0x001f3] in C:\Users\Admin\Downloads\New Unity Project (124)\Library\PackageCache\com.unity.burst@1.3.0\Editor\BurstLoader.cs:161
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Currently is by design because of the way the compiler works.