Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug 2021.3.14 crashes when importing compute shaders while opening the project

Discussion in 'Editor & General Support' started by JWRealmforge, Nov 29, 2022.

  1. JWRealmforge

    JWRealmforge

    Joined:
    Jan 7, 2020
    Posts:
    5
    The editor 2021.3.14 crashes when importing compute shaders while opening the project. This includes opening a fresh HDRP project.

    Starting the editor again after the crash throws a lot of errors about missing compute shader kernels and requires to manually reimport all HDRP and user compute shaders.

    The last part of the callstack is:
    Code (CSharp):
    1. 0x00007FF72D365B90 (Unity) JoinImpl<core::basic_string<char,core::StringStorageDefault<char> > >
    2. 0x00007FF72D3691B4 (Unity) core::JoinArray
    3. 0x00007FF72D30D896 (Unity) ComputeShaderKernelKey
    4. 0x00007FF72DFFAB77 (Unity) CompileKernelVariantJobForEach
    5. 0x00007FF72D1A4C10 (Unity) JobQueue::Exec
    Which looks a lot like the crash that should have been fixed in 2021.3.14: "Fixed a rare crash when opening a project with compute shaders. (UUM-10259)"
    https://issuetracker.unity3d.com/issues/crash-on-setcurrentmemoryowner-when-opening-the-project

    I reported the regression as a new bug: IN-24295
     
    arkano22 likes this.