Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity project crashes at startup

Discussion in 'Editor & General Support' started by zaeem_unity262, Apr 23, 2021.

  1. zaeem_unity262

    zaeem_unity262

    Joined:
    Apr 23, 2021
    Posts:
    3
    My Unity project keeps crashing at startup. I'm using macbook with Apple's M1 chip. Here's the editor log:

    Code (CSharp):
    1. [LicensingClient] ERROR Failed to connect to local IPC
    2. [Licensing::Module] Failed to connect to channel: LicenseClient-macbook
    3. Launching external process: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/Resources/Unity.Licensing.Client
    4. [Licensing::Module] Successfully launched the LicensingClient
    5. [Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-macbook
    6. [Licensing::Module] Successfully launched and connected to LicensingClient
    7. Entitlement-based licensing initiated
    8. [LicensingClient] Licenses Updated successfully in LicensingClient
    9. [Licensing::Module] Serial number assigned to: "F4-7XBY-9CSQ-XYUA-W55S-XXXX"\n[Package Manager] Server::Start -- Port 51249 was selected
    10. Launching external process: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager
    11.  
    12. COMMAND LINE ARGUMENTS:
    13. /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/MacOS/Unity
    14. -projectpath
    15. /Users/macbook/Documents/spyninjanetwork/SNNUnityProject
    16. -useHub
    17. -hubIPC
    18. -cloudEnvironment
    19. production
    20. -hubSessionId
    21. a2802040-a3eb-11eb-936b-a7901748427a
    22. Successfully changed project path to: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject
    23. /Users/macbook/Documents/spyninjanetwork/SNNUnityProject
    24. Using Asset Import Pipeline V2.
    25. Adding genesis user token [Package Manager] Done resolving packages in 0.59s seconds
    26. [Package Manager] Done checking package constraints in 0.01s seconds
    27. [Package Manager]
    28. Registered 46 packages:
    29.   Packages from [https://packages.unity.com]:
    30.     com.unity.analytics@3.3.5 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.analytics@3.3.5)
    31.     com.unity.collab-proxy@1.2.16 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.collab-proxy@1.2.16)
    32.     com.unity.ext.nunit@1.0.0 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.ext.nunit@1.0.0)
    33.     com.unity.ide.rider@1.1.4 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.ide.rider@1.1.4)
    34.     com.unity.ide.vscode@1.2.1 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.ide.vscode@1.2.1)
    35.     com.unity.postprocessing@2.2.2 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.postprocessing@2.2.2)
    36.     com.unity.purchasing@2.0.6 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.purchasing@2.0.6)
    37.     com.unity.test-framework@1.1.16 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.test-framework@1.1.16)
    38.     com.unity.textmeshpro@2.0.1 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.textmeshpro@2.0.1)
    39.     com.unity.timeline@1.2.6 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.timeline@1.2.6)
    40.     com.unity.xr.legacyinputhelpers@2.1.4 (location: /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.4)
    41.   Built-in packages:
    42.     com.unity.2d.sprite@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.2d.sprite)
    43.     com.unity.2d.tilemap@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap)
    44.     com.unity.ugui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui)
    45.     com.unity.modules.ai@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai)
    46.     com.unity.modules.androidjni@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni)
    47.     com.unity.modules.animation@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation)
    48.     com.unity.modules.assetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle)
    49.     com.unity.modules.audio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio)
    50.     com.unity.modules.cloth@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth)
    51.     com.unity.modules.director@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.director)
    52.     com.unity.modules.imageconversion@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion)
    53.     com.unity.modules.imgui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui)
    54.     com.unity.modules.jsonserialize@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize)
    55.     com.unity.modules.particlesystem@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem)
    56.     com.unity.modules.physics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics)
    57.     com.unity.modules.physics2d@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d)
    58.     com.unity.modules.screencapture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture)
    59.     com.unity.modules.terrain@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain)
    60.     com.unity.modules.terrainphysics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics)
    61.     com.unity.modules.tilemap@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap)
    62.     com.unity.modules.ui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui)
    63.     com.unity.modules.uielements@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements)
    64.     com.unity.modules.umbra@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra)
    65.     com.unity.modules.unityanalytics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics)
    66.     com.unity.modules.unitywebrequest@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest)
    67.     com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle)
    68.     com.unity.modules.unitywebrequestaudio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio)
    69.     com.unity.modules.unitywebrequesttexture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture)
    70.     com.unity.modules.unitywebrequestwww@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww)
    71.     com.unity.modules.vehicles@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles)
    72.     com.unity.modules.video@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.video)
    73.     com.unity.modules.vr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr)
    74.     com.unity.modules.wind@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind)
    75.     com.unity.modules.xr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr)
    76.     com.unity.modules.subsystems@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.subsystems)
    77.  
    78. [Subsystems] No new subsystems found in resolved package list.
    79. [Package Manager] Done registering packages in 0.13s seconds
    80. Refreshing native plugins compatible for Editor in 104.49 ms, found 7 plugins.
    81. Preloading 0 native plugins for Editor in 0.00 ms.
    82. IsTimeToCheckForNewEditor: Update time 1619096321 current 1619151820
    83. Editor: Metal support disabled, skipping device initialization
    84. (Filename: /Users/builduser/buildslave/unity/build/PlatformDependent/OSX/MetalSurfaceHelper.mm Line: 786)
    85.  
    86. Initialize engine version: 2019.4.9f1 (50fe8a171dd9)
    87. [Subsystems] Discovering subsystems at path /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Resources/UnitySubsystems
    88. [Subsystems] Discovering subsystems at path /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Assets
    89. GfxDevice: creating device client; threaded=1
    90. Renderer: Apple M1
    91. Vendor:   Apple
    92. Version:  4.1 Metal - 71.0.7
    93. GLES:     0
    94. GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_fl
    95. ush_render GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_NV_texture_barrier
    96. OPENGL LOG: Creating OpenGL 4.1 graphics device ; Context level  <OpenGL 4.1> ; Context handle 2107551744
    97. Initialize mono
    98. Mono path[0] = '/Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Managed'
    99. Mono path[1] = '/Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit'
    100. Mono config path = '/Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/MonoBleedingEdge/etc'
    101. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56726
    102. ImportWorker Server TCP listen port: 49338
    103. Begin MonoManager ReloadAssembly
    104. Registering precompiled unity dll's ...
    105. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll
    106. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.9f1/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
    107. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.9f1/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
    108. Registered in 0.032137 seconds.
    109. [usbmuxd] Start listen thread
    110. [usbmuxd] Listen thread started
    111. [usbmuxd] Send listen message
    112. Native extension for iOS target not found
    113. Native extension for Android target not found
    114. Native extension for OSXStandalone target not found
    115. Refreshing native plugins compatible for Editor in 48.34 ms, found 7 plugins.
    116. Preloading 0 native plugins for Editor in 0.00 ms.
    117. Mono: successfully reloaded assembly
    118. - Completed reload, in  3.536 seconds
    119. Registering precompiled user dll's ...
    120. Registered in 0.113420 seconds.
    121. Platform modules already initialized, skipping
    122. Validating Project structure ... 0.030274 seconds.
    123. Shader import version has changed; will reimport all shaders...
    124. Upgrading shader files ...0.057663 seconds.
    125. Begin MonoManager ReloadAssembly
    126. Symbol file LoadedFromMemory doesn't match image /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Assets/ExternalDependencyManager/Editor/Google.JarResolver_v1.2.162.dll
    127. Symbol file LoadedFromMemory doesn't match image /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl_v1.2.162.dll
    128. Symbol file LoadedFromMemory doesn't match image /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Assets/ExternalDependencyManager/Editor/Google.IOSResolver_v1.2.162.dll
    129. Symbol file LoadedFromMemory doesn't match image /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Assets/ExternalDependencyManager/Editor/Google.PackageManagerResolver_v1.2.162.dll
    130. Symbol file LoadedFromMemory doesn't match image /Users/macbook/Documents/spyninjanetwork/SNNUnityProject/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll
    131. Native extension for iOS target not found
    132. Native extension for Android target not found
    133. Native extension for OSXStandalone target not found
    134. Refreshing native plugins compatible for Editor in 1.57 ms, found 7 plugins.
    135. Preloading 0 native plugins for Editor in 0.00 ms.
    136. Refreshing native plugins compatible for Editor in 1.56 ms, found 7 plugins.
    137. UnityIAP: [InitializeOnLoad] Facebook Check
    138. UnityIAP: Runtime [2019.4.9f1]
    139. UnityIAP: Current Build is Standalone:StandaloneOSX
    140. UnityIAP: stub FacebookStore.dll enabled
    141. Mono: successfully reloaded assembly
    142. Refresh completed in 0.000006 seconds.
    143. - Completed reload, in  2.485 seconds
    144. Platform modules already initialized, skipping
    145. RefreshInfo: InitialScriptRefreshV2(NoUpdateAssetOptions)
    146. RefreshProfiler: Total: 3548.036ms
    147.    InvokeBeforeRefreshCallbacks: 0.121ms
    148.    ApplyChangesToAssetFolders: 0.045ms
    149.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    150.    CleanLegacyArtifacts: 0.000ms
    151.    Scan: 42.175ms
    152.    OnSourceAssetsModified: 0.001ms
    153.    UnregisterDeletedAssets: 0.000ms
    154.    InitializeImportedAssetsSnapshot: 0.266ms
    155.    GetAllGuidsForCategorization: 0.128ms
    156.    CategorizeAssets: 99.592ms
    157.    ImportAndPostprocessOutOfDateAssets: 3385.829ms (3384.801ms without children)
    158.        ImportManagerImport: 0.000ms (0.000ms without children)
    159.            ImportInProcess: 0.000ms
    160.            ImportOutOfProcess: 0.000ms
    161.            UpdateCategorizedAssets: 0.000ms
    162.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    163.                RemoteAssetCacheResolve: 0.000ms
    164.                RemoteAssetCacheDownloadFile: 0.000ms
    165.        CompileScripts: 0.000ms
    166.        PostProcessAllAssets: 0.000ms
    167.        ReloadImportedAssets: 0.000ms
    168.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    169.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.306ms
    170.        InitializingProgressBar: 0.214ms
    171.        PostProcessAllAssetNotificationsAddChangedAssets: 0.123ms
    172.        OnDemandSchedulerStart: 0.000ms
    173.        RestoreLoadedAssetsState: 0.386ms
    174.    InvokeProjectHasChanged: 0.000ms
    175.    UpdateImportedAssetsSnapshot: 0.000ms
    176.    ReloadSourceAssets: 0.401ms
    177.    UnloadImportedAssets: 0.014ms
    178.    Hotreload: 1.671ms
    179.    FixTempGuids: 0.004ms
    180.    VerifyGuidPMRegistrations: 0.000ms
    181.    GatherAllCurrentPrimaryArtifactRevisions: 0.000ms
    182.    UnloadStreamsBegin: 0.737ms
    183.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.034ms
    184.    GetLoadedSourceAssetsSnapshot: 0.467ms
    185.    PersistCurrentRevisions: 0.000ms
    186.    UnloadStreamsEnd: 8.175ms
    187.    GenerateScriptTypeHashes: 0.105ms
    188. Start importing Library/BuildPlayer.prefs using Guid(00000000000000005000000000000000) Importer(-1,00000000000000000000000000000000)
    189. Done importing asset: 'Library/BuildPlayer.prefs' (target hash: 'fe3108a9ccf4ffdc149e560e6cf05620') in 0.043500 seconds
    190. Refreshing native plugins compatible for Editor in 1.68 ms, found 7 plugins.
    191. Preloading 0 native plugins for Editor in 0.00 ms.
    192. Refresh completed in 0.368407 seconds.
    193. RefreshInfo: RefreshV2(ForceSynchronousImport)
    194. RefreshProfiler: Total: 368.387ms
    195.    InvokeBeforeRefreshCallbacks: 0.200ms
    196.    ApplyChangesToAssetFolders: 0.051ms
    197.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    198.    CleanLegacyArtifacts: 0.000ms
    199.    Scan: 45.241ms
    200.    OnSourceAssetsModified: 0.001ms
    201.    UnregisterDeletedAssets: 0.000ms
    202.    InitializeImportedAssetsSnapshot: 3.700ms
    203.    GetAllGuidsForCategorization: 0.152ms
    204.    CategorizeAssets: 50.401ms
    205.    ImportAndPostprocessOutOfDateAssets: 248.026ms (2.205ms without children)
    206.        ImportManagerImport: 46.421ms (1.563ms without children)
    207.            ImportInProcess: 44.853ms
    208.            ImportOutOfProcess: 0.000ms
    209.            UpdateCategorizedAssets: 0.006ms
    210.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    211.                RemoteAssetCacheResolve: 0.000ms
    212.                RemoteAssetCacheDownloadFile: 0.000ms
    213.        CompileScripts: 0.000ms
    214.        PostProcessAllAssets: 193.762ms
    215.        ReloadImportedAssets: 0.005ms
    216.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    217.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.437ms
    218.        InitializingProgressBar: 0.003ms
    219.        PostProcessAllAssetNotificationsAddChangedAssets: 0.137ms
    220.        OnDemandSchedulerStart: 1.449ms
    221.        RestoreLoadedAssetsState: 0.823ms
    222.    InvokeProjectHasChanged: 0.000ms
    223.    UpdateImportedAssetsSnapshot: 2.784ms
    224.    ReloadSourceAssets: 0.393ms
    225.    UnloadImportedAssets: 0.109ms
    226.    Hotreload: 15.695ms
    227.    FixTempGuids: 0.004ms
    228.    VerifyGuidPMRegistrations: 0.000ms
    229.    GatherAllCurrentPrimaryArtifactRevisions: 0.285ms
    230.    UnloadStreamsBegin: 0.004ms
    231.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.260ms
    232.    GetLoadedSourceAssetsSnapshot: 1.691ms
    233.    PersistCurrentRevisions: 0.000ms
    234.    UnloadStreamsEnd: 0.056ms
    235.    GenerateScriptTypeHashes: 1.955ms
    236. RefreshInfo: StopAssetImportingV2(ForceSynchronousImport)
    237. RefreshProfiler: Total: 9.066ms
    238.    InvokeBeforeRefreshCallbacks: 0.135ms
    239.    ApplyChangesToAssetFolders: 0.045ms
    240.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    241.    CleanLegacyArtifacts: 0.000ms
    242.    Scan: 3.808ms
    243.    OnSourceAssetsModified: 0.000ms
    244.    UnregisterDeletedAssets: 0.000ms
    245.    InitializeImportedAssetsSnapshot: 2.975ms
    246.    GetAllGuidsForCategorization: 0.000ms
    247.    CategorizeAssets: 0.000ms
    248.    ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)
    249.        ImportManagerImport: 0.000ms (0.000ms without children)
    250.            ImportInProcess: 0.000ms
    251.            ImportOutOfProcess: 0.000ms
    252.            UpdateCategorizedAssets: 0.000ms
    253.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    254.                RemoteAssetCacheResolve: 0.000ms
    255.                RemoteAssetCacheDownloadFile: 0.000ms
    256.        CompileScripts: 0.000ms
    257.        PostProcessAllAssets: 0.000ms
    258.        ReloadImportedAssets: 0.000ms
    259.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    260.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
    261.        InitializingProgressBar: 0.000ms
    262.        PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    263.        OnDemandSchedulerStart: 0.000ms
    264.        RestoreLoadedAssetsState: 0.000ms
    265.    InvokeProjectHasChanged: 0.000ms
    266.    UpdateImportedAssetsSnapshot: 0.000ms
    267.    ReloadSourceAssets: 0.000ms
    268.    UnloadImportedAssets: 0.000ms
    269.    Hotreload: 0.017ms
    270.    FixTempGuids: 0.003ms
    271.    VerifyGuidPMRegistrations: 0.000ms
    272.    GatherAllCurrentPrimaryArtifactRevisions: 0.202ms
    273.    UnloadStreamsBegin: 0.249ms
    274.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.254ms
    275.    GetLoadedSourceAssetsSnapshot: 0.436ms
    276.    PersistCurrentRevisions: 0.000ms
    277.    UnloadStreamsEnd: 0.004ms
    278.    GenerateScriptTypeHashes: 0.000ms
    279. Refresh completed in 0.091325 seconds.
    280. RefreshInfo: RefreshV2(NoUpdateAssetOptions)
    281. RefreshProfiler: Total: 91.306ms
    282.    InvokeBeforeRefreshCallbacks: 0.146ms
    283.    ApplyChangesToAssetFolders: 0.045ms
    284.    WriteModifiedImportersToTextMetaFiles: 0.000ms
    285.    CleanLegacyArtifacts: 0.000ms
    286.    Scan: 38.843ms
    287.    OnSourceAssetsModified: 0.001ms
    288.    UnregisterDeletedAssets: 0.000ms
    289.    InitializeImportedAssetsSnapshot: 2.645ms
    290.    GetAllGuidsForCategorization: 0.173ms
    291.    CategorizeAssets: 43.774ms
    292.    ImportAndPostprocessOutOfDateAssets: 2.315ms (0.787ms without children)
    293.        ImportManagerImport: 0.000ms (0.000ms without children)
    294.            ImportInProcess: 0.000ms
    295.            ImportOutOfProcess: 0.000ms
    296.            UpdateCategorizedAssets: 0.000ms
    297.            RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    298.                RemoteAssetCacheResolve: 0.000ms
    299.                RemoteAssetCacheDownloadFile: 0.000ms
    300.        CompileScripts: 0.000ms
    301.        PostProcessAllAssets: 0.000ms
    302.        ReloadImportedAssets: 0.000ms
    303.        VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    304.        EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.407ms
    305.        InitializingProgressBar: 0.000ms
    306.        PostProcessAllAssetNotificationsAddChangedAssets: 0.128ms
    307.        OnDemandSchedulerStart: 0.173ms
    308.        RestoreLoadedAssetsState: 0.820ms
    309.    InvokeProjectHasChanged: 0.000ms
    310.    UpdateImportedAssetsSnapshot: 0.000ms
    311.    ReloadSourceAssets: 0.768ms
    312.    UnloadImportedAssets: 0.073ms
    313.    Hotreload: 0.046ms
    314.    FixTempGuids: 0.003ms
    315.    VerifyGuidPMRegistrations: 0.000ms
    316.    GatherAllCurrentPrimaryArtifactRevisions: 0.201ms
    317.    UnloadStreamsBegin: 0.017ms
    318.    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.336ms
    319.    GetLoadedSourceAssetsSnapshot: 1.264ms
    320.    PersistCurrentRevisions: 0.000ms
    321.    UnloadStreamsEnd: 0.005ms
    322.    GenerateScriptTypeHashes: 0.000ms
    323. Launching external process: /Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/Tools/UnityShaderCompiler
    324. Launched and connected shader compiler UnityShaderCompiler after 0.04 seconds
    325. Initializing Unity extensions:
    326. '/Applications/Unity/Hub/Editor/2019.4.9f1/Unity.app/Contents/UnityExtensions/Unity/UnityVR/Editor/UnityEditor.VR.dll'  GUID: 4ba2329b63d54f0187bcaa12486b1b0f
    327. Unloading 251 Unused Serialized files (Serialized files now loaded: 0)
    328. System memory in use before: 0.64 GB.
    329. System memory in use after: 0.64 GB.
    330.  
    331. Unloading 457 unused Assets to reduce memory usage. Loaded Objects now: 2162.
    332. Total: 5.120417 ms (FindLiveObjects: 0.222000 ms CreateObjectMapping: 0.041208 ms MarkObjects: 2.253625 ms  DeleteObjects: 2.603250 ms)
    333.  
    334. [MODES] Loading mode Default (0) for mode-current-id-Spy Ninja Net
    335. -[MTLTextureDescriptorInternal validateWithDevice:]:1248: failed assertion `Texture Descriptor Validation
    336. MTLTextureDescriptor has width of zero.
    337. '
    338. Obtained 20 stack frames.
    339. #0  0x007fff20328462 in __pthread_kill
    340. #1  0x007fff202a9720 in abort
    341. #2  0x007fff202a89d6 in err
    342. #3  0x007fff28620fe4 in bool MTLGetEnvCase<MTLErrorModeType>(char const*, MTLErrorModeType&, std::initializer_list<std::__1::pair<char const*, MTLErrorModeType> > const&) (.cold.1)
    343. #4  0x007fff2860f1b2 in MTLReportFailure
    344. #5  0x007fff28608f6a in _MTLMessageContextEnd
    345. #6  0x007fff28571151 in -[MTLTextureDescriptorInternal validateWithDevice:]
    346. #7  0x0000014f301510 in (null)
    347. #8  0x0000015621daba in GLDTextureRec::load()
    348. #9  0x0000015623a94b in GLRDrawable::attachDrawable(GLDContextRec*, unsigned int, GLDDrawableRec*, unsigned int, GLTDimensionsRec*, GLRDrawable const*)
    349. #10 0x0000015623ca1b in gldAttachDrawable
    350. #11 0x007fff6cdb2d01 in gliAttachDrawableWithOptions
    351. #12 0x007fff6cb7dbcc in CGLDescribeRenderer
    352. #13 0x007fff6cb7ded2 in CGLEnable
    353. #14 0x00000106ebf46f in -[GUIOpenGLView UpdateGraphicsContext]
    354. #15 0x00000106ebf86b in -[GUIOpenGLView setFrameSize:]
    355. #16 0x007fff22be7731 in -[NSView setFrame:]
    356. #17 0x00000106ebf7ec in -[GUIOpenGLView setFrame:]
    357. #18 0x00000106e932a7 in GUIView::SetPosition(RectT<float> const&)
    358. #19 0x00000104981cc1 in GUIView_CUSTOM_Internal_SetPosition_Injected(ScriptingBackendNativeObjectPtrOpaque*, RectT<float> const&)
    359. Launching bug reporter
    360. [Unity Package Manager (Upm)]
    361. Parent process [726] was terminated
    362. QObject: Cannot create children for a parent that is in a different thread.
    363. (Parent is QObject(0x7fefa8804c50), parent's thread is QThread(0x7fefbe705380), current thread is Thread(0x7fefae40d5c0)
    364.  
     
  2. Deleted User

    Deleted User

    Guest

    Did you manage to send the bug report?

    In the meantime, you can try starting the project after deleting the Library folder in the project directory.
     
  3. zaeem_unity262

    zaeem_unity262

    Joined:
    Apr 23, 2021
    Posts:
    3
    I have tried that, but it doesn't work.
     
  4. altepTest

    altepTest

    Joined:
    Jul 5, 2012
    Posts:
    1,105
    If you create a new project, it works?
     
  5. DrakesGames

    DrakesGames

    Joined:
    Aug 2, 2017
    Posts:
    8
    Hmm yeah it would be helpful if you gave a bit more information.

    Can you open a totally brand new, empty project?
    Is this a project you have been working on for a long time and it just stopped working? Do you use source control / can you revert back to when it was working before?

    That stuff will help narrow the potential issues down.
     
  6. zaeem_unity262

    zaeem_unity262

    Joined:
    Apr 23, 2021
    Posts:
    3
    Yes when I create a new project it works. And the project I'm working on works on 2019.2.7, but crashes at startup on 2019.4.9. The issue is that this particular project won't open on 2019.4.9 for some reason, and only on my machine. One more thing: yes the team has been working on this project for a long time, but this is my new macbook on which the project keeps crashing.
     
  7. Deleted User

    Deleted User

    Guest

    Do other projects crash the same way on your new macbook?
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    You should update to the latest 2019.4 patch. 2019.4.9 came out before Apple released the M1 devices and it lacks some critical fixes. Unity 2019.4.26 shouldn't crash like that.
     
  9. AlexandreT-unity

    AlexandreT-unity

    Unity Technologies

    Joined:
    Feb 1, 2018
    Posts:
    358
  10. Abbrew

    Abbrew

    Joined:
    Jan 1, 2018
    Posts:
    417
    That sounds very similar to my issue, where clicking the docked Unity Editor while in Visual Studio and triggering script recompilation would frequently cause the editor to crash. This is for my M1 Mac. Here are the final logs

    Registering precompiled user dll's ...
    Registered in 0.010362 seconds.
    Start importing Assets/Collapse/Scripts/Actor/State/Proximity/ProximityAuthoring.cs using Guid(60f1d7701b86e4c9f921354d6925a3f3) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'f22e98118bdde4e6ede61867e195019b') in 0.009478 seconds
    Start importing Assets/Collapse/Scripts/Actor/Task/Formation/Rhomboid/FormationRhomboidRallySystem.cs using Guid(d621b9221e3d84c0eb0ef9a5fac3edee) Importer(-1,00000000000000000000000000000000) -> (artifact id: '9ae5956599e335091bb4a3ecb6ec7a52') in 0.001854 seconds
    Start importing Assets/Collapse/Scripts/Actor/State/Proximity/ProximitySystem.cs using Guid(b7e0371ecf96e4c499c63328e36d9d5c) Importer(-1,00000000000000000000000000000000) -> (artifact id: 'a790aa5040731f9bd9360de8e03cef33') in 0.001979 seconds
    [ScriptCompilation] Requested script compilation because: Assetdatabase observed changes in script compilation related files
    AssetDatabase: script compilation time: 0.152113s
    Obtained 0 stack frames.
    Launching bug reporter
    Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is QObject(0x6000017942c0), parent's thread is QThread(0x6000000cc040), current thread is Thread(0x600000caac40)

    Has this been fixed yet?