Search Issue Tracker

Not Reproducible

Votes

0

Found in

2022.3.26f1

Issue ID

UUM-70085

Regression

Yes

Burst internal compiler errors are thrown when creating a new 2D project

--

-

*Steps to reproduce:*
# Create a new 2D template project

*Actual results:* The following errors are thrown
{code:java}
Burst internal compiler error: System.IO.FileNotFoundException: Could not find file "C:\Users\Win11-Automation\Projects\My project (2)\Library\BurstCache\JIT\Objects\33fb8df0c1ff5fbc2eeeab6f44f91329.gbc"
File name: 'C:\Users\Win11-Automation\Projects\My project (2)\Library\BurstCache\JIT\Objects\33fb8df0c1ff5fbc2eeeab6f44f91329.gbc'
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) [0x00000] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
at System.IO.File.ReadAllBytes (System.String path) [0x00000] in <b11ba2a8fbf24f219f7cc98532a11304>:0
at Burst.Compiler.IL.Aot.AotModule.ReadGlobalsFromDisk (Burst.Backend.Context context) [0x00013] in <fecc8b90ec9549a294c4d6f8c000ff99>:0
at Burst.Compiler.IL.Server.LibraryCompiler.LoadMethodsFromDisk (Burst.Compiler.IL.NativeCompiler nativeCompiler, Burst.Compiler.IL.Aot.AotCompilerOptions defaultOptions, Burst.Compiler.IL.Aot.AotModuleGroup aotModuleGroup, System.Collections.Generic.IEnumerable`1[T] methodLinkNames, System.String objectDirectory, System.String objectFileExtension, System.Boolean fromCache, System.Boolean isMultiCpu, System.Collections.Generic.Dictionary`2[TKey,TValue] methodReferences, System.Collections.Generic.Dictionary`2[TKey,TValue] perMethodObjectFileLocks) [0x00115] in <fecc8b90ec9549a294c4d6f8c000ff99>:0
at Burst.Compiler.IL.Server.LibraryCompiler.LinkAndFinalize (Burst.Compiler.IL.Server.CompilationJob request, Burst.Compiler.IL.Server.SharedLibraryCompilationState sharedState, System.Int32 methodGroupIndex, Burst.Compiler.IL.NativeCompiler nativeCompiler, Burst.Compiler.IL.Aot.AotCompilerOptions defaultOptions, Burst.Compiler.IL.Aot.AotModuleGroup aotModuleGroup) [0x0035e] in <fecc8b90ec9549a294c4d6f8c000ff99>:0
 While compiling job:
Unity.Collections.xxHash3, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Hash64Long(System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
Unity.Collections.xxHash3, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Hash128Long(System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|System.Byte*, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Mathematics.uint4&, Unity.Mathematics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
Unity.Collections.RewindableAllocator, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Try(System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Collections.AllocatorManager+Block&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
Unity.Collections.AllocatorManager+SlabAllocator, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Try(System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Collections.AllocatorManager+Block&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
Unity.Collections.AllocatorManager+StackAllocator, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null::Try(System.IntPtr, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Unity.Collections.AllocatorManager+Block&, Unity.Collections, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) {code}
*Expected results:* No warnings or errors are thrown

*Tested on (OS):* Windows 11

  1. Resolution Note:

    Issue is unable to be reproduced anymore in latest Unity 6000.0.0f1 or 2022.3.26f1, closing case

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.