Search Unity

Urgent - Editor hang - Endlessly looping on hashing assets 2019.2.3

Discussion in 'Editor & General Support' started by jason_yak, Sep 1, 2019.

  1. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Hi there,

    We urgently need to get to the bottom of a Unity editor hang problem. We have tried everything to figure out why this is happening but we have nothing to go off. We've recently updated to 2019.2.3 from 2019.1.8, we're using LWRP 6.9.1. We start running the game, we think once we hit stop or perhaps unload certain scenes then eventually this leads to a hang where the editor freezes. The Editor log is showing this logging out 100's of times:

    Hashing assets (1 files)... 0.001 seconds
    file read: 0.000 seconds (0.003 MB)
    wait for write: 0.000 seconds (I/O thread blocked by consumer, aka CPU bound)
    wait for read: 0.000 seconds (CPUT thread waiting for I/O thread, aka disk bound)
    hash: 0.000 seconds
    Connect to CacheServer localhost:56775
    Disconnect from CacheServer
    Refreshing native plugins compatible for Editor in 1.99 ms, found 2 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.

    Hashing assets (1 files)... 0.001 seconds
    file read: 0.000 seconds (0.004 MB)
    wait for write: 0.000 seconds (I/O thread blocked by consumer, aka CPU bound)
    wait for read: 0.000 seconds (CPUT thread waiting for I/O thread, aka disk bound)
    hash: 0.000 seconds
    Connect to CacheServer localhost:56775
    Disconnect from CacheServer
    Refreshing native plugins compatible for Editor in 2.18 ms, found 2 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.

    It will do this for a few minutes until eventually crashes the editor. The stack trace looks completely useless. But I'll and get something up here. We've tried turning off cache server but then it takes even longer until it crashes. We've tried clearing cache server cache, then close Unity, deleting the Library folder to force a reimport, but it hasn't changed the outcome.

    We're desperate to fix this we have a huge deadline going on and don't know what to do. I've sent a request for premium support. I think a bug fix report is not going to be possible, we can't send a 16GB project and it's not something we can isolate in a small empty project. We need a workaround asap.

    Thanks,

    Jason
     
    Last edited: Sep 2, 2019
  2. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Here's the log that it outputs after doing this Hashing assets 100's of times:

    Code (CSharp):
    1. Crash!!!
    2. SymInit: Symbol-SearchPath: 'C:/Program Files/Unity/Hub/Editor/2019.2.3f1/Editor/Data/Mono;.;C:\Users\jason\Projects\Bermuda\unity\Bermuda;C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor;C:\Program Files\Unity\Hub\Editor\2019.1.8f1\Editor\Data\PlaybackEngines\XboxOnePlayer\Variations\durango_master_il2cpp;C:\Users\jason\Projects\AgentA\GIT\unity\MysteryAdventure\Assets\Plugins\XboxOne;;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'jason'
    3. OS-Version: 10.0.0
    4. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\Unity.exe:Unity.exe (00007FF716BA0000), size: 128802816 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2019.2.3.21954
    5. C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00007FFE1C1E0000), size: 2031616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    6. C:\Windows\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFE1A290000), size: 729088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.86
    7. C:\Windows\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFE19490000), size: 2764800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    8. C:\Windows\System32\CRYPT32.dll:CRYPT32.dll (00007FFE19340000), size: 1347584 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    9. C:\Windows\System32\ucrtbase.dll:ucrtbase.dll (00007FFE19770000), size: 1024000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    10. C:\Windows\System32\MSASN1.dll:MSASN1.dll (00007FFE190C0000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    11. C:\Windows\System32\USER32.dll:USER32.dll (00007FFE1A8D0000), size: 1650688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    12. C:\Windows\System32\win32u.dll:win32u.dll (00007FFE19210000), size: 135168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    13. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\optix.6.0.0.dll:optix.6.0.0.dll (00007FFE0DB60000), size: 208896 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 6.0.0.0
    14. C:\Windows\System32\GDI32.dll:GDI32.dll (00007FFE1BE10000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    15. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\libfbxsdk.dll:libfbxsdk.dll (00007FFDB4810000), size: 8511488 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2018.1.1.0
    16. C:\Windows\System32\gdi32full.dll:gdi32full.dll (00007FFE1A040000), size: 1654784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    17. C:\Windows\System32\msvcp_win.dll:msvcp_win.dll (00007FFE19240000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    18. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\OpenImageDenoise.dll:OpenImageDenoise.dll (00007FFD9ED30000), size: 36802560 (result: 0), SymType: '-deferred-', PDB: ''
    19. C:\Windows\System32\ADVAPI32.dll:ADVAPI32.dll (00007FFE1BE40000), size: 667648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    20. C:\Windows\System32\msvcrt.dll:msvcrt.dll (00007FFE1C0F0000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.18362.1
    21. C:\Windows\System32\sechost.dll:sechost.dll (00007FFE1ACD0000), size: 618496 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    22. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\OpenRL.dll:OpenRL.dll (0000000180000000), size: 12779520 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.5.100.0
    23. C:\Windows\System32\RPCRT4.dll:RPCRT4.dll (00007FFE1AA70000), size: 1179648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    24. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\umbraoptimizer64.dll:umbraoptimizer64.dll (00007FFDF12B0000), size: 1306624 (result: 0), SymType: '-deferred-', PDB: ''
    25. C:\Windows\System32\WS2_32.dll:WS2_32.dll (00007FFE1AEB0000), size: 454656 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    26. C:\Windows\System32\SHELL32.dll:SHELL32.dll (00007FFE1B220000), size: 7217152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    27. C:\Windows\System32\SETUPAPI.dll:SETUPAPI.dll (00007FFE1B970000), size: 4653056 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    28. C:\Windows\System32\WLDAP32.dll:WLDAP32.dll (00007FFE1AFA0000), size: 425984 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    29. C:\Windows\System32\cfgmgr32.dll:cfgmgr32.dll (00007FFE19870000), size: 303104 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    30. C:\Windows\System32\Normaliz.dll:Normaliz.dll (00007FFE1ABF0000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    31. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\libcef.dll:libcef.dll (00007FFD9BB60000), size: 52219904 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 3.2062.1930.0
    32. C:\Windows\System32\bcrypt.dll:bcrypt.dll (00007FFE19740000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    33. C:\Windows\System32\shcore.dll:shcore.dll (00007FFE1BFC0000), size: 692224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    34. C:\Windows\System32\combase.dll:combase.dll (00007FFE1A350000), size: 3366912 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    35. C:\Windows\System32\PSAPI.DLL:PSAPI.DLL (00007FFE1A6B0000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    36. C:\Windows\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFE1A870000), size: 335872 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    37. C:\Windows\SYSTEM32\HID.DLL:HID.DLL (00007FFE17CC0000), size: 57344 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    38. C:\Windows\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFE19190000), size: 524288 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    39. C:\Windows\System32\COMDLG32.dll:COMDLG32.dll (00007FFE1AC00000), size: 847872 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    40. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\ispc_texcomp.dll:ispc_texcomp.dll (00007FFDF1010000), size: 1597440 (result: 0), SymType: '-deferred-', PDB: ''
    41. C:\Windows\System32\windows.storage.dll:windows.storage.dll (00007FFE198C0000), size: 7847936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    42. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\WinPixEventRuntime.dll:WinPixEventRuntime.dll (00007FFE15B00000), size: 45056 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.0.1812.6001
    43. C:\Windows\System32\ole32.dll:ole32.dll (00007FFE1B010000), size: 1400832 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.113
    44. C:\Windows\System32\profapi.dll:profapi.dll (00007FFE19150000), size: 126976 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    45. C:\Windows\System32\powrprof.dll:powrprof.dll (00007FFE19100000), size: 303104 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    46. C:\Windows\System32\OLEAUT32.dll:OLEAUT32.dll (00007FFE1BEF0000), size: 802816 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    47. C:\Windows\System32\UMPDC.dll:UMPDC.dll (00007FFE190B0000), size: 65536 (result: 0), SymType: '-deferred-', PDB: ''
    48. C:\Windows\System32\kernel.appcore.dll:kernel.appcore.dll (00007FFE190E0000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    49. C:\Windows\System32\IMM32.dll:IMM32.dll (00007FFE1BDE0000), size: 188416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    50. C:\Windows\System32\cryptsp.dll:cryptsp.dll (00007FFE19170000), size: 94208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    51. C:\Windows\System32\WINTRUST.dll:WINTRUST.dll (00007FFE192E0000), size: 376832 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.145
    52. C:\Windows\SYSTEM32\VCRUNTIME140.dll:VCRUNTIME140.dll (00007FFE14000000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.20.27404.0
    53. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\tbb.dll:tbb.dll (00007FFE08590000), size: 413696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2017.0.2016.1004
    54. C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (00007FFE10A90000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    55. C:\Windows\SYSTEM32\MSVCP100.dll:MSVCP100.dll (00000000692A0000), size: 622592 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.40219.325
    56. C:\Windows\SYSTEM32\MSVCR100.dll:MSVCR100.dll (00000000691C0000), size: 860160 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.40219.325
    57. C:\Windows\SYSTEM32\WINSPOOL.DRV:WINSPOOL.DRV (00007FFDF8450000), size: 561152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    58. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\embree.dll:embree.dll (00007FFDA5000000), size: 16711680 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2.14.0.0
    59. C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.295_none_e6c3acbd13101292\COMCTL32.dll:COMCTL32.dll (00007FFE067B0000), size: 2641920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 6.10.18362.295
    60. C:\Windows\SYSTEM32\MSVCP140.dll:MSVCP140.dll (00007FFDFE8D0000), size: 626688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 14.20.27404.0
    61. C:\Windows\SYSTEM32\USERENV.dll:USERENV.dll (00007FFE18FD0000), size: 151552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.175
    62. C:\Windows\SYSTEM32\urlmon.dll:urlmon.dll (00007FFE0EEF0000), size: 1925120 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 11.0.18362.207
    63. C:\Windows\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FFE0C700000), size: 983040 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.207
    64. C:\Windows\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (00007FFE0E5C0000), size: 114688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    65. C:\Windows\System32\NSI.dll:NSI.dll (00007FFE1C190000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    66. C:\Windows\SYSTEM32\WTSAPI32.dll:WTSAPI32.dll (00007FFE15970000), size: 77824 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    67. C:\Windows\SYSTEM32\Secur32.dll:Secur32.dll (00007FFDFCFB0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    68. C:\Windows\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FFE18630000), size: 237568 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    69. C:\Windows\SYSTEM32\CRYPTBASE.DLL:CRYPTBASE.DLL (00007FFE18AF0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    70. C:\Windows\SYSTEM32\OLEACC.dll:OLEACC.dll (00007FFE036A0000), size: 413696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.2.18362.1
    71. C:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (00007FFE17150000), size: 147456 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    72. C:\Windows\SYSTEM32\USP10.dll:USP10.dll (00007FFDE9A70000), size: 102400 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    73. C:\Windows\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFDE3BD0000), size: 1372160 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    74. C:\Windows\SYSTEM32\GLU32.dll:GLU32.dll (00007FFDE3BA0000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    75. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\SketchUpAPI.dll:SketchUpAPI.dll (00007FFDA9560000), size: 8978432 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 19.0.753.0
    76. C:\Windows\SYSTEM32\MSWSOCK.dll:MSWSOCK.dll (00007FFE18920000), size: 421888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    77. C:\Windows\SYSTEM32\MSVCR120.dll:MSVCR120.dll (00007FFE04140000), size: 978944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 12.0.40660.0
    78. C:\Windows\SYSTEM32\MSVCP120.dll:MSVCP120.dll (00007FFE03A90000), size: 679936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 12.0.40660.0
    79. C:\Windows\SYSTEM32\PROPSYS.dll:PROPSYS.dll (00007FFE155A0000), size: 978944 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.18362.267
    80. C:\Windows\SYSTEM32\iertutil.dll:iertutil.dll (00007FFE0D770000), size: 2777088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 11.0.18362.267
    81. C:\Windows\SYSTEM32\winmmbase.dll:winmmbase.dll (00007FFE17120000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    82. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\SketchUpCommonPreferences.dll:SketchUpCommonPreferences.dll (00007FFDF1230000), size: 483328 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 19.0.753.20342
    83. C:\Windows\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FFE18FA0000), size: 192512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    84. C:\Windows\SYSTEM32\dxcore.dll:dxcore.dll (00007FFE17D20000), size: 131072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    85. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\FreeImage.dll:FreeImage.dll (0000014B295A0000), size: 6164480 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 3.11.0.0
    86. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\OpenRL_pthread.dll:OpenRL_pthread.dll (0000014B29B90000), size: 61440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2.9.0.0
    87. C:\Windows\system32\uxtheme.dll:uxtheme.dll (00007FFE17430000), size: 626688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    88. C:\Windows\System32\clbcatq.dll:clbcatq.dll (00007FFE1B170000), size: 663552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2001.12.10941.16384
    89. C:\Windows\system32\wbem\wbemprox.dll:wbemprox.dll (00007FFE03D50000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    90. C:\Windows\SYSTEM32\wbemcomn.dll:wbemcomn.dll (00007FFE04A30000), size: 540672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    91. C:\Windows\system32\wbem\wbemsvc.dll:wbemsvc.dll (00007FFE03B40000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    92. C:\Windows\system32\wbem\fastprox.dll:fastprox.dll (00007FFE01F90000), size: 1052672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    93. C:\Windows\SYSTEM32\amsi.dll:amsi.dll (00007FFDFF8D0000), size: 86016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    94. C:\ProgramData\Microsoft\Windows Defender\platform\4.18.1907.4-0\MpOav.dll:MpOav.dll (00007FFDFF8A0000), size: 139264 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 4.18.1907.4
    95. C:\Windows\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (00007FFE0E2D0000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    96. C:\Windows\SYSTEM32\DNSAPI.dll:DNSAPI.dll (00007FFE18670000), size: 827392 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    97. C:\Windows\System32\MSCTF.dll:MSCTF.dll (00007FFE1AD70000), size: 1269760 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    98. C:\Windows\SYSTEM32\TextInputFramework.dll:TextInputFramework.dll (00007FFE09F30000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    99. C:\Windows\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (00007FFE13680000), size: 3317760 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.207
    100. C:\Windows\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (00007FFE16F10000), size: 868352 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    101. C:\Windows\SYSTEM32\wintypes.dll:wintypes.dll (00007FFE14C80000), size: 1388544 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    102. C:\Windows\SYSTEM32\ntmarta.dll:ntmarta.dll (00007FFE18110000), size: 200704 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    103. C:\Windows\System32\netprofm.dll:netprofm.dll (00007FFE0EA80000), size: 253952 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    104. C:\Windows\System32\npmproxy.dll:npmproxy.dll (00007FFE0DF40000), size: 65536 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    105. C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (00007FFE0E060000), size: 487424 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.207
    106. C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (00007FFE0BEF0000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    107. C:\Windows\system32\rsaenh.dll:rsaenh.dll (00007FFE18490000), size: 208896 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    108. C:\Windows\system32\explorerframe.dll:explorerframe.dll (00007FFE01130000), size: 2117632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    109. C:\Windows\System32\MMDevApi.dll:MMDevApi.dll (00007FFE10800000), size: 491520 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    110. C:\Windows\System32\DEVOBJ.dll:DEVOBJ.dll (00007FFE18EB0000), size: 172032 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    111. C:\Windows\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (00007FFE10880000), size: 1429504 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    112. C:\Windows\SYSTEM32\resourcepolicyclient.dll:resourcepolicyclient.dll (00007FFE17750000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    113. C:\Windows\SYSTEM32\d3d11.dll:d3d11.dll (00007FFE16230000), size: 2469888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    114. C:\Windows\SYSTEM32\dxgi.dll:dxgi.dll (00007FFE17DB0000), size: 958464 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    115. C:\Windows\System32\DriverStore\FileRepository\u0335805.inf_amd64_fdb959d6ebfe183c\B335769\aticfx64.dll:aticfx64.dll (00007FFE10AA0000), size: 2023424 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 24.20.12052.7
    116. C:\Windows\System32\DriverStore\FileRepository\u0335805.inf_amd64_fdb959d6ebfe183c\B335769\atiuxp64.dll:atiuxp64.dll (00007FFE107C0000), size: 217088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 24.20.12052.7
    117. C:\Windows\System32\DriverStore\FileRepository\u0335805.inf_amd64_fdb959d6ebfe183c\B335769\atidxx64.dll:atidxx64.dll (00007FFE0F7B0000), size: 16797696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 24.20.12052.7
    118. C:\Windows\SYSTEM32\apphelp.dll:apphelp.dll (00007FFE17250000), size: 585728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    119. C:\Windows\SYSTEM32\amdihk64.dll:amdihk64.dll (00007FFE0F630000), size: 167936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.0.0.0
    120. C:\Windows\SYSTEM32\D3DSCache.dll:D3DSCache.dll (00007FFE0F350000), size: 176128 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    121. C:\Windows\SYSTEM32\twinapi.appcore.dll:twinapi.appcore.dll (00007FFE174F0000), size: 2465792 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    122. C:\Windows\SYSTEM32\RMCLIENT.dll:RMCLIENT.dll (00007FFE17850000), size: 167936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    123. C:\Windows\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFE0D530000), size: 2048000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    124. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\tbbmalloc.dll:tbbmalloc.dll (00007FFDFDD50000), size: 372736 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2017.0.2016.1004
    125. C:\Windows\SYSTEM32\opencl.dll:opencl.dll (00007FFDE3D20000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 24.20.12052.7
    126. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\radeonrays.dll:radeonrays.dll (00007FFDE9950000), size: 552960 (result: 0), SymType: '-deferred-', PDB: ''
    127. C:\Program Files\Unity\Hub\Editor\2019.2.3f1\Editor\Data\MonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dll:mono-2.0-bdwgc.dll (00007FFDA7520000), size: 7770112 (result: 0), SymType: '-deferred-', PDB: ''
    128. C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll:Microsoft.VisualStudio.Setup.Configuration.Native.dll (00007FFDE98E0000), size: 421888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.18.21.37008
    129. C:\Windows\system32\napinsp.dll:napinsp.dll (00007FFDE4240000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    130. C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (00007FFDE4220000), size: 106496 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    131. C:\Windows\System32\winrnr.dll:winrnr.dll (00007FFDE9A30000), size: 57344 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    132. C:\Windows\system32\NLAapi.dll:NLAapi.dll (00007FFE15950000), size: 114688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.295
    133. C:\Windows\system32\wshbth.dll:wshbth.dll (00007FFE14C20000), size: 86016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    134. C:\Windows\system32\dataexchange.dll:dataexchange.dll (00007FFE02350000), size: 237568 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    135. C:\Windows\system32\dcomp.dll:dcomp.dll (00007FFE169C0000), size: 1945600 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.145
    136. C:\Windows\SYSTEM32\xinput9_1_0.dll:xinput9_1_0.dll (00007FFE0F5B0000), size: 28672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    137. C:\Windows\SYSTEM32\dwmapi.dll:dwmapi.dll (00007FFE17960000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.267
    138. C:\Windows\SYSTEM32\bthprops.cpl:bthprops.cpl (00007FFDF18F0000), size: 282624 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    139. C:\Windows\SYSTEM32\xinput1_4.dll:xinput1_4.dll (00007FFDE9A10000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    140. C:\Windows\SYSTEM32\inputhost.dll:inputhost.dll (00007FFE09020000), size: 1056768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.18362.1
    141.  
    142. ========== OUTPUTTING STACK TRACE ==================
    143.  
    144. 0x00007FF7197FF617 (Unity) SortByExecutionOrder
    145. 0x00007FF7197E6B07 (Unity) std::_Insertion_sort_unchecked<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
    146. 0x00007FF7197E5E8C (Unity) std::_Buffered_merge_sort_unchecked<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
    147. 0x00007FF7197E73D9 (Unity) std::_Stable_sort_unchecked<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
    148. 0x00007FF7197E769A (Unity) std::stable_sort<SavedObject * __ptr64,bool (__cdecl*)(SavedObject const & __ptr64,SavedObject const & __ptr64)>
    149. 0x00007FF7197F0085 (Unity) MonoManager::EndReloadAssembly
    150. 0x00007FF7197FB399 (Unity) MonoManager::ReloadAssembly
    151. 0x00007FF717E4C033 (Unity) ReloadAllUsedAssemblies
    152. 0x00007FF717E29B2F (Unity) EditorSceneManager::RestoreSceneBackups
    153. 0x00007FF7178B7498 (Unity) PlayerLoopController::EnterPlayMode
    154. 0x00007FF7178CA64D (Unity) PlayerLoopController::SetIsPlaying
    155. 0x00007FF7178CD517 (Unity) Application::TickTimer
    156. 0x00007FF71815CB60 (Unity) MainMessageLoop
    157. 0x00007FF71815F57F (Unity) WinMain
    158. 0x00007FF71ADF54B2 (Unity) __scrt_common_main_seh
    159. 0x00007FFE1A2A7BD4 (KERNEL32) BaseThreadInitThunk
    160. 0x00007FFE1C24CE71 (ntdll) RtlUserThreadStart
    161.  
    162. ========== END OF STACKTRACE ===========
     
  3. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Four different computers in our team are having this issue. Here's more of a macOS level crash stack trace, the above was in the editor log.

    Code (CSharp):
    1. Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
    2. 0   libsystem_kernel.dylib            0x00007fff651432c6 __pthread_kill + 10
    3. 1   libsystem_pthread.dylib           0x00007fff651febf1 pthread_kill + 284
    4. 2   libsystem_c.dylib                 0x00007fff650ad6a6 abort + 127
    5. 3   com.unity3d.UnityEditor5.x        0x000000010dc351be HandleSignal(int, __siginfo*, void*) + 62
    6. 4   libmonobdwgc-2.0.dylib            0x0000000143fb59fd mono_chain_signal + 79
    7. 5   libmonobdwgc-2.0.dylib            0x0000000143e8721b mono_sigsegv_signal_handler + 414
    8. 6   libsystem_platform.dylib          0x00007fff651f3b5d _sigtramp + 29
    9. 7   ???                               000000000000000000 0 + 0
    10. 8   com.unity3d.UnityEditor5.x        0x000000010dc4433d void std::__1::__stable_sort<bool (*&)(SavedObject const&, SavedObject const&), SavedObject*>(SavedObject*, SavedObject*, bool (*&)(SavedObject const&, SavedObject const&), std::__1::iterator_traits<SavedObject*>::difference_type, std::__1::iterator_traits<SavedObject*>::value_type*, long) + 221
    11. 9   com.unity3d.UnityEditor5.x        0x000000010dc448b8 void std::__1::__stable_sort_move<bool (*&)(SavedObject const&, SavedObject const&), SavedObject*>(SavedObject*, SavedObject*, bool (*&)(SavedObject const&, SavedObject const&), std::__1::iterator_traits<SavedObject*>::difference_type, std::__1::iterator_traits<SavedObject*>::value_type*) + 472
    12. 10  com.unity3d.UnityEditor5.x        0x000000010dc4443a void std::__1::__stable_sort<bool (*&)(SavedObject const&, SavedObject const&), SavedObject*>(SavedObject*, SavedObject*, bool (*&)(SavedObject const&, SavedObject const&), std::__1::iterator_traits<SavedObject*>::difference_type, std::__1::iterator_traits<SavedObject*>::value_type*, long) + 474
    13. 11  com.unity3d.UnityEditor5.x        0x000000010dc334c1 MonoManager::EndReloadAssembly(DomainReloadingData&, dynamic_bitset) + 1633
    14. 12  com.unity3d.UnityEditor5.x        0x000000010dc31fbf MonoManager::ReloadAssembly() + 415
    15. 13  com.unity3d.UnityEditor5.x        0x000000010c074e75 ReloadAllUsedAssemblies() + 181
    16. 14  com.unity3d.UnityEditor5.x        0x000000010b95a88a Application::TickTimer() + 3370
    17. 15  com.unity3d.UnityEditor5.x        0x000000010ec5ec45 -[EditorApplication TickTimer] + 165
    18. 16  com.apple.Foundation              0x00007fff3b355c3b __NSFireTimer + 80
    19. 17  com.apple.CoreFoundation          0x00007fff390c8060 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    20. 18  com.apple.CoreFoundation          0x00007fff390c7c0c __CFRunLoopDoTimer + 851
    21. 19  com.apple.CoreFoundation          0x00007fff390c7752 __CFRunLoopDoTimers + 330
    22. 20  com.apple.CoreFoundation          0x00007fff390a8962 __CFRunLoopRun + 2130
    23. 21  com.apple.CoreFoundation          0x00007fff390a7ebe CFRunLoopRunSpecific + 455
    24. 22  com.apple.HIToolbox               0x00007fff383071ab RunCurrentEventLoopInMode + 292
    25. 23  com.apple.HIToolbox               0x00007fff38306ee5 ReceiveNextEventCommon + 603
    26. 24  com.apple.HIToolbox               0x00007fff38306c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    27. 25  com.apple.AppKit                  0x00007fff3669f79d _DPSNextEvent + 1135
    28. 26  com.apple.AppKit                  0x00007fff3669e48b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
    29. 27  com.apple.AppKit                  0x00007fff366985a8 -[NSApplication run] + 699
    30. 28  com.apple.AppKit                  0x00007fff36687ae8 NSApplicationMain + 777
    31. 29  com.unity3d.UnityEditor5.x        0x000000010ec9ce79 EditorMain(int, char const**) + 665
    32. 30  com.unity3d.UnityEditor5.x        0x000000010ec9d149 main + 9
    33. 31  libdyld.dylib                     0x00007fff650083d5 start + 1
     
  4. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Hi there,

    Is anyone at Unity able to help us with any kind of suggestion on what to do? Is there something else we should be doing to help this along? We've been paying pro customers of Unity for 6 years and if ever there was a time where we need your help is now. We are in urgent need of help to resolve this issue. I've not heard back from requests to pay for premium support either.

    Thanks,

    Jason
     
  5. Domas_L

    Domas_L

    Unity Technologies

    Joined:
    Nov 27, 2018
    Posts:
    111
    Hello! From the crash stack trace, the issue seems very similar to https://issuetracker.unity3d.com/product/unity/issues/guid/1179631

    If it's indeed the same issue, then updating/downgrading LWRP/TMP packages (or maybe even reinstalling them) should fix the issue. It could also be that deleting the "Library" folder could help too, but without a project, it's hard to know what exactly needs to be done.

    If that doesn't help, please submit a bug report and post the case ID here. You can request the cloud space in the report and our Customer QA people will give you a place to upload the project.
     
  6. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Thanks... we've tried upgrading / downgrading between LWRP/Core/SG from 6.9.1 to 6.9.0 and back again, no difference. We've cleared the cache server and Library/obj folders more times than I can count. I appreciate the suggestions though, we've tried everything we can think of to isolate the issue.
     
  7. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Re: the issue above. It's not realllly something that quite fits with out scenario. We do use PlayerPrefs.DeleteAll() regularly to clear user data. But the hang is happening most of the time simply by doing these steps:
    - editor is opened fresh
    - hit play
    - stop the player
    - some arbitrary time later the hang happens, most of the time when hitting play a second time though it hurries the hang along to occur sooner

    It's like some kind of clean up issue or something that's stuck on removing itself after the app has run. We don't seem to have any runtime issues for compiled builds, only when hitting play in the editor.
     
  8. Domas_L

    Domas_L

    Unity Technologies

    Joined:
    Nov 27, 2018
    Posts:
    111
    Have you tried tracking down what assets/scenes could be causing these crashes? Once again, I recommend filling a bug report, so that we could start investigating the issue, as from editor logs it's hard to say what could be the cause of it.
     
  9. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Thanks we'll have to do that, it's a bit of a concern for us posting up sensitive project data, we totally trust Unity. But it's an obligation contractually we have to consider to minimise risk. So anyway, we'll strip it back and then get something submitted, it's a really hard one to replicate predictably. Sometimes you'll run the editor 12 times and no hangs, and then a string of hangs 20 times in a row, inconsistent hard to replicate bugs are .. the ... worst.

    re: which scenes/assets, it's almost indiscriminate and no decent patterns. Just run the app. Maybe it hangs, maybe it doesn't ie. doesn't seem to matter if I load up a huge scene with hundreds of materials or intro scene with a couple, it could run ok or it could hang. Not much to go on. Thanks again for the reply, sorry for being dramatic with the reach out, but we're quite stressed about all of this and desperate to fix this, huge deadlines looming and all.

    We'll get a bug report going, request the cloud storage for the report and post up an id here as soon as we can, thanks.
     
    Domas_L likes this.
  10. Ben-BearFish

    Ben-BearFish

    Joined:
    Sep 6, 2011
    Posts:
    1,204
    @jason_yak Any updates on what the cause? Or have a bug report? We're facing the same issue in Unity 2019.2.5.
     
  11. Ben-BearFish

    Ben-BearFish

    Joined:
    Sep 6, 2011
    Posts:
    1,204
    For everyone else, we found that deleting this folder prevents the hashing bug:
    "SRP/com.unity.render-pipelines.lightweight/Editor"

    @Domas_L Someone at Unity should probably look at that.
     
    Last edited: Sep 19, 2019
  12. Domas_L

    Domas_L

    Unity Technologies

    Joined:
    Nov 27, 2018
    Posts:
    111
    As far as I'm aware, we still haven't received any bug reports about this issue, so if you have a way to reproduce this consistently please send us one. Without having a repro project, it's hard to know for sure what is causing the issue.
     
  13. Ben-BearFish

    Ben-BearFish

    Joined:
    Sep 6, 2011
    Posts:
    1,204
    It's 100% repro for anyone with that folder in our project. We're using Unity 2019.2.5f1 on iOS/Android platforms with LWRP 6.10.0 on Macs and Windows PCs.

    With these folders in our SRP folder:
    Screen Shot 2019-09-20 at 10.43.07 AM.png

    When we delete it, it prevents the issue, so that's a fine solution for us. Does SRP/LWRP play nicely with the AssetPostprocessor pipeline? Because we have a custom texture postprocessor in our project.
     
  14. Ben-BearFish

    Ben-BearFish

    Joined:
    Sep 6, 2011
    Posts:
    1,204
    @Domas_L It's what we suspected.

    The file "SRP/com.unity.render-pipelines.lightweight/Editor/2D/MaterialPostprocessor.cs" is causing the behavior that @jason_yak is seeing.

    It's causing the materials in our project to reimport and re-hash continually. We don't even use 2D in our project. Why would this be doing that?
     
  15. Domas_L

    Domas_L

    Unity Technologies

    Joined:
    Nov 27, 2018
    Posts:
    111
    Could you please submit a bug report with a repro project and post the issue ID here? Our developers think that it could be the upgrader interfering with the post-processor, which results in this behavior, but without a local repro, we can't be sure.
     
  16. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Hi there, it's been quite some time since we reported this issue and it's still plaguing us daily with hangs. I've only just been able to corner the issue and I'm in the process of submitting a bug report, I can replicate this issue now consistently in 2019.2.12 using LWRP 6.9.1 and 6.9.2, and 2019.3.0b11 with LWRP 7.1.1 and 7.1.5, submitted one for 2019.2.12 and one for the beta. I'll post the id up here shortly. Here are the details on how to reproduce it:

    1. What happened
    When calling PlayerPrefs.DeleteAll() while the editor is open whether it is called at runtime or by an editor script while the game is not running causes the editor to hang the next time we hit play. Looking at the editor log we can see that it's reimporting and hashing all project assets. Eventually the hang will end, but as you'd imagine the larger the project the worse the hang, and in our main projects means it's stuck for 10-20 minutes each time. I can confirm that this issue only occurs when using LWRP but has been happening for us since we upgraded to 2019.2.x many months ago and is still occurring in 2019.2.12 using LWRP 6.9.1 and 6.9.2, and even in the latest beta 2019.3.0b11 with LWRP 7.1.1 and 7.1.5. The moment we remove the LWRP package the issue stops occurring.

    2. How we can reproduce it using the example you attached
    - Create a new empty 3d project
    - Add in our editor script ResetUserPrefs which just allows PlayerPrefs.DeleteAll() to be triggered in an editor menu option.
    - Create a new material and assign it the basic Unlit > Color shader, this step may not be important but we did this to minimise complexity.
    - Duplicate the material, select all materials, duplicate again, repeat until you have about 300+ materials in the project ie. so you can see the hang occur while the editor reimports these assets.
    - Hit play as a control test to see that the scene runs fine and doesn't hang, then stop.
    - Trigger the Test > Reset Player Prefs menu test script that calls PlayerPrefs.DeleteAll()
    - Hit play and you'll get the import hang I've described, which in our actual production projects hangs for a very long time.

    ie. clearing the Library doesn't help in our older projects, we get this issue consistently in a brand new empty project.
     
    Last edited: Nov 20, 2019
  17. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    I should add that, if you remove LWRP and repeat the test, triggering the DeleteAll the hang does not occur.
     
  18. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Issue ID for our 2019.2.12 bug report: 1199695
     
    Last edited: Nov 20, 2019
  19. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    and a second bug report submitted from 2019.3.0b11: 1199704, wasn't sure if that was necessary to do both, but thought it might hit different teams if I submitted against both versions.
     
  20. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Hi @Domas_L just wondering if someone is looking into the bug reports, it'd just be great to know if the wheels are turning on a fix? thanks
     
  21. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Following up that I just got confirmation that the issue has been reproduced by Unity QA and sent along for resolution... that's great news =)
     
  22. Domas_L

    Domas_L

    Unity Technologies

    Joined:
    Nov 27, 2018
    Posts:
    111
    Yep! The developers have already looked at it and it has been resolved as a duplicate of another issue, which is still active - https://issuetracker.unity3d.com/is...-errors-to-appear-when-entering-the-play-mode

    Unfortunately, at the moment we don't have any workarounds to share.
     
  23. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    Hi there, I spotted someone elses comment in the bug tracker, which is:

    We were also running into that issue. I checked and it seems unity is now writing their own keys to PlayerPrefs. One of them contains the version of LWRP. If that's not there I assume unity triggers a reimport. I really think unity should not be writing anything into PlayerPrefs, this should be purely for game specific data.

    Would a workaround be that if we knew the LWRP data keys we could pull this data out temporarily, delete all prefs and reinstate the data? Does anyone know how to find out what data is in the player prefs on a mac to see what the keys would be? the playerprefs api requires that you know what the dictionary keys are.
     
    dzamani likes this.
  24. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    @Domas_L any updates to share on this issue? It's been over 6 months that we are unable to test our game in the editor and having a huge impact on our team, and ability to work efficiently.
     
  25. awallick-sd

    awallick-sd

    Joined:
    May 29, 2019
    Posts:
    13
    @jason_yak my temporary workaround has been to make LWRP/URP a local package and comment out the block of code in MaterialPostprocessor.cs that reimports everything (ReimportAllMaterials). We were only experiencing this bug in the form of our Unity cloud builds more than doubling in length, but I imagine it would work for your use case too.

    Makes it a bit more painful to update the RP, and you might want to let run the reimporter once whenever you update (not sure of the side effects of commenting out). It's still been worth it for the faster builds for us. Hopefully that's able to help you in the meantime.
     
    jason_yak likes this.
  26. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    @awallick-sd thank you so much, by pointing me to the code this lead to me finding a different solution. Instead of copying LWRP package I simply store the lwrp string and reapply it before and after running a DeleteAll command before the preprocessor gets a chance to know it's missing.

    var lwrpVersion = PlayerPrefs.GetString( "LWRP-material-upgrader" );
    PlayerPrefs.DeleteAll();
    PlayerPrefs.SetString( "LWRP-material-upgrader", lwrpVersion );

    (this works for LWRP v6.9.1 at least)
     
    awallick-sd likes this.
  27. awallick-sd

    awallick-sd

    Joined:
    May 29, 2019
    Posts:
    13
    @jason_yak Glad that helped!! I think your solution definitely makes more sense and is much simpler in your use case. I couldn't find a way to set that PlayerPref early enough in the cloud build process to avoid the full reimport back when I was figuring out a workaround, so I think I'm stuck with the local package for now. Hopefully it's fixed soon and we don't have to do either :)
     
    jason_yak likes this.