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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note:
Currently is by design because of the way the compiler works.