Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug 2021.2.0b12 - Crash on Materials Upgrade

Discussion in '2021.2 Beta' started by nehvaleem, Sep 20, 2021.

  1. nehvaleem

    nehvaleem

    Joined:
    Dec 13, 2012
    Posts:
    382
    I am facing a crash when upgrading project from 2021.1.21f1. Everything goes smooth after editor prompts about required materials upgrade. I am clicking ok and after some time (about an 1 hour) the editor crashes.

    End of the log file is as follows:

    Code (CSharp):
    1. Start importing Assets/Game Assets/Art/Models/Interior props/Ryokan/floor interior 2x2 D.fbx using Guid(c48958ff822189648867e65b3911a911) Importer(-1,00000000000000000000000000000000) Identifier uniqueness violation: 'Name:misy_LP, Type:Mesh'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.
    2. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    3. UnityEditor.AssetDatabase:ImportAsset (string)
    4. UnityEditor.Rendering.HighDefinition.MaterialReimporter:ReimportAllMaterials () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:83)
    5. UnityEditor.Rendering.HighDefinition.MaterialReimporter/<>c:<RegisterUpgraderReimport>b__6_0 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:239)
    6. UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
    7.  
    8. [Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs line 83]
    9.  
    10. Identifier uniqueness violation: 'Name:talerz_HP, Type:Mesh'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.
    11. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    12. UnityEditor.AssetDatabase:ImportAsset (string)
    13. UnityEditor.Rendering.HighDefinition.MaterialReimporter:ReimportAllMaterials () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:83)
    14. UnityEditor.Rendering.HighDefinition.MaterialReimporter/<>c:<RegisterUpgraderReimport>b__6_0 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:239)
    15. UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
    16.  
    17. [Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs line 83]
    18.  
    19. Identifier uniqueness violation: 'Name:talerz_LP, Type:Mesh'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.
    20. UnityEngine.StackTraceUtility:ExtractStackTrace ()
    21. UnityEditor.AssetDatabase:ImportAsset (string)
    22. UnityEditor.Rendering.HighDefinition.MaterialReimporter:ReimportAllMaterials () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:83)
    23. UnityEditor.Rendering.HighDefinition.MaterialReimporter/<>c:<RegisterUpgraderReimport>b__6_0 () (at Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs:239)
    24. UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
    25.  
    26. [Library/PackageCache/com.unity.render-pipelines.high-definition@12.0.0/Editor/AssetProcessors/MaterialPostProcessor.cs line 83]
    27.  
    28. -> (artifact id: 'd0ff6877356075303c91b2f26c55b7c3') in 0.897130 seconds
    29. Received signal SIGSEGV
    30. Obtained 51 stack frames
    31. 0x00007ff79b514b85 (Unity) scripting_object_get_class
    32. 0x00007ff79b50df41 (Unity) Scripting::FindObjectsOfType
    33. 0x00007ff79b426e65 (Unity) Resources_Bindings::FindObjectsOfTypeAll
    34. 0x00007ff79a6db04e (Unity) ResourcesAPIInternal_CUSTOM_FindObjectsOfTypeAll
    35. 0x000001f321b1634a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ResourcesAPIInternal:FindObjectsOfTypeAll (System.Type)
    36. 0x000001f321b16273 (Mono JIT Code) UnityEngine.ResourcesAPI:FindObjectsOfTypeAll (System.Type)
    37. 0x000001f321b16225 (Mono JIT Code) UnityEngine.Resources:FindObjectsOfTypeAll (System.Type)
    38. 0x000001f3cfd23ffb (Mono JIT Code) [SpriteEditorWindow.cs:1341] UnityEditor.U2D.Sprites.SpriteEditorTexturePostprocessor:OnPostprocessAllAssets (string[],string[],string[],string[])
    39. 0x000001f3cfd242d6 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_object_object_object (object,intptr,intptr,intptr)
    40. 0x00007ffe28467ed0 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    41. 0x00007ffe283a96c4 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    42. 0x00007ffe283b06ff (mono-2.0-bdwgc) [object.c:5771] mono_runtime_try_invoke_array
    43. 0x00007ffe282e7b40 (mono-2.0-bdwgc) [icall.c:4017] ves_icall_InternalInvoke
    44. 0x00007ffe2830c3a1 (mono-2.0-bdwgc) [icall-def.h:687] ves_icall_InternalInvoke_raw
    45. 0x000001f1e735a8a0 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo:InternalInvoke (System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
    46. 0x000001f1e735a25b (Mono JIT Code) System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    47. 0x000001f1e735a11e (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[])
    48. 0x000001f3cfd21d4b (Mono JIT Code) UnityEditor.AssetPostprocessingInternal:InvokeMethod (System.Reflection.MethodInfo,object[])
    49. 0x000001f3cfd213c3 (Mono JIT Code) UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
    50. 0x000001f3cfd219d9 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_object_object_object_object_byte (object,intptr,intptr,intptr)
    51. 0x00007ffe28467ed0 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    52. 0x00007ffe283a96c4 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    53. 0x00007ffe283a985c (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    54. 0x00007ff79b514984 (Unity) scripting_method_invoke
    55. 0x00007ff79b50f624 (Unity) ScriptingInvocation::Invoke
    56. 0x00007ff79bf10f02 (Unity) MonoPostprocessAllAssets
    57. 0x00007ff79c8a06c4 (Unity) ProcessPostProcessAllAssetNotificationsAndHotReload
    58. 0x00007ff79c8ad955 (Unity) StopAssetImportingV2Internal
    59. 0x00007ff79c897956 (Unity) ImportAtPathV2
    60. 0x00007ff79c82aba2 (Unity) AssetDatabase::ImportAtPath
    61. 0x00007ff79ab7aaa9 (Unity) AssetDatabase_CUSTOM_ImportAsset
    62. 0x000001f3d06ab265 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AssetDatabase:ImportAsset (string,UnityEditor.ImportAssetOptions)
    63. 0x000001f3d0b19e0b (Mono JIT Code) UnityEditor.AssetDatabase:ImportAsset (string)
    64. 0x000001f3dc2143b3 (Mono JIT Code) [MaterialPostProcessor.cs:78] UnityEditor.Rendering.HighDefinition.MaterialReimporter:ReimportAllMaterials ()
    65. 0x000001f3dc2136db (Mono JIT Code) [MaterialPostProcessor.cs:240] UnityEditor.Rendering.HighDefinition.MaterialReimporter/<>c:<RegisterUpgraderReimport>b__6_0 ()
    66. 0x000001f3d0aefda0 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
    67. 0x000001f2cbb03785 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    68. 0x00007ffe28467ed0 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    69. 0x00007ffe283a96c4 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    70. 0x00007ffe283a985c (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    71. 0x00007ff79b514984 (Unity) scripting_method_invoke
    72. 0x00007ff79b50f624 (Unity) ScriptingInvocation::Invoke
    73. 0x00007ff79b508fe5 (Unity) ScriptingInvocation::Invoke<void>
    74. 0x00007ff79b629e2b (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions
    75. 0x00007ff79bf59352 (Unity) SceneTracker::Update
    76. 0x00007ff79c1058f9 (Unity) Application::TickTimer
    77. 0x00007ff79c53b2e5 (Unity) MainMessageLoop
    78. 0x00007ff79c53fadb (Unity) WinMain
    79. 0x00007ff79d841e12 (Unity) __scrt_common_main_seh
    80. 0x00007ffe6e6e7034 (KERNEL32) BaseThreadInitThunk
    81. 0x00007ffe6fb62651 (ntdll) RtlUserThreadStart

    I've tried it with 2021.2.0b1, 2021.2.0b4, 2021.2.0b12 - still without any luck. I've tried it after wiping the Library folder as well. Unfortunately I am unable to create a proper bug report with repro project as it is happening only with my project which cannot be shared as a part of the report.