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

Package: Burst

-

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[])

  1. Resolution Note:

    Currently is by design because of the way the compiler works.

Add comment

Log in to post comment