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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Editor crashes when loading a project

Discussion in 'Editor & General Support' started by FoxxDev, Feb 11, 2021.

  1. FoxxDev

    FoxxDev

    Joined:
    Jan 9, 2020
    Posts:
    1
    Editor Version: 2019.4.16f1
    Basically when I try to open my project unity just crashes and opens the bug report menu. This is the log made in editor.log:

    Code (CSharp):
    1. [LicensingClient] ERROR Failed to connect to local IPC
    2. [Licensing::Module] Failed to connect to channel: LicenseClient-thomashelton
    3. Launching external process: /Applications/Unity/Hub/Editor/2019.4.16f1/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-thomashelton
    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: "SC-GY64-49KR-3VKB-YZXS-XXXX"\n[Package Manager] Server::Start -- Port 62180 was selected
    10. Launching external process: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager
    11.  
    12. COMMAND LINE ARGUMENTS:
    13. /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/MacOS/Unity
    14. -projectpath
    15. /Users/thomashelton/mongodb
    16. -useHub
    17. -hubIPC
    18. -cloudEnvironment
    19. production
    20. -hubSessionId
    21. fbbaf840-6c75-11eb-b758-bd575e6b4daf
    22. -accessToken
    23. CRjBIRd4XCJHPAoDWomN-Je_6AHVw6iUqGcLIDm4ynM002f
    24. Successfully changed project path to: /Users/thomashelton/mongodb
    25. /Users/thomashelton/mongodb
    26. Using Asset Import Pipeline V2.
    27. Adding genesis user token [Package Manager] Done resolving packages in 2.23s seconds
    28. [Package Manager] Done checking package constraints in 0.04s seconds
    29. [Package Manager]
    30. Registered 40 packages:
    31.   Packages from [https://packages.unity.com]:
    32.     com.unity.collab-proxy@1.2.16 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.collab-proxy@1.2.16)
    33.     com.unity.ide.rider@1.1.4 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.ide.rider@1.1.4)
    34.     com.unity.ide.vscode@1.2.3 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.ide.vscode@1.2.3)
    35.     com.unity.test-framework@1.1.19 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.test-framework@1.1.19)
    36.     com.unity.textmeshpro@2.1.1 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.textmeshpro@2.1.1)
    37.     com.unity.timeline@1.2.17 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.timeline@1.2.17)
    38.     com.unity.ext.nunit@1.0.5 (location: /Users/thomashelton/mongodb/Library/PackageCache/com.unity.ext.nunit@1.0.5)
    39.   Built-in packages:
    40.     com.unity.ugui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui)
    41.     com.unity.modules.ai@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai)
    42.     com.unity.modules.androidjni@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni)
    43.     com.unity.modules.animation@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation)
    44.     com.unity.modules.assetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle)
    45.     com.unity.modules.audio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio)
    46.     com.unity.modules.cloth@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth)
    47.     com.unity.modules.director@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.director)
    48.     com.unity.modules.imageconversion@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion)
    49.     com.unity.modules.imgui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui)
    50.     com.unity.modules.jsonserialize@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize)
    51.     com.unity.modules.particlesystem@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem)
    52.     com.unity.modules.physics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics)
    53.     com.unity.modules.physics2d@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d)
    54.     com.unity.modules.screencapture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture)
    55.     com.unity.modules.terrain@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain)
    56.     com.unity.modules.terrainphysics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics)
    57.     com.unity.modules.tilemap@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap)
    58.     com.unity.modules.ui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui)
    59.     com.unity.modules.uielements@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements)
    60.     com.unity.modules.umbra@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra)
    61.     com.unity.modules.unityanalytics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics)
    62.     com.unity.modules.unitywebrequest@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest)
    63.     com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle)
    64.     com.unity.modules.unitywebrequestaudio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio)
    65.     com.unity.modules.unitywebrequesttexture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture)
    66.     com.unity.modules.unitywebrequestwww@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww)
    67.     com.unity.modules.vehicles@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles)
    68.     com.unity.modules.video@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.video)
    69.     com.unity.modules.vr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr)
    70.     com.unity.modules.wind@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind)
    71.     com.unity.modules.xr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr)
    72.     com.unity.modules.subsystems@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.subsystems)
    73.  
    74. [Subsystems] No new subsystems found in resolved package list.
    75. [Package Manager] Done registering packages in 0.29s seconds
    76. [Package Manager] Lock file was modified
    77. Refreshing native plugins compatible for Editor in 78.69 ms, found 0 plugins.
    78. Preloading 0 native plugins for Editor in 0.00 ms.
    79. IsTimeToCheckForNewEditor: Update time 1612812573 current 1613054205
    80. Initialize engine version: 2019.4.16f1 (e05b6e02d63e)
    81. [Subsystems] Discovering subsystems at path /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/UnitySubsystems
    82. [Subsystems] Discovering subsystems at path /Users/thomashelton/mongodb/Assets
    83. GfxDevice: creating device client; threaded=1
    84. 2021-02-11 09:36:45.757 Unity[32855:298128] Color LCD preferred device: Intel(R) Iris(TM) Plus Graphics (low power)
    85. 2021-02-11 09:36:45.757 Unity[32855:298128] Metal devices available: 1
    86. 2021-02-11 09:36:45.758 Unity[32855:298128] 0: Intel(R) Iris(TM) Plus Graphics (low power)
    87. 2021-02-11 09:36:45.759 Unity[32855:298128] Using device Intel(R) Iris(TM) Plus Graphics (low power)
    88. Initializing Metal device caps: Intel(R) Iris(TM) Plus Graphics
    89. Initialize mono
    90. Mono path[0] = '/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Managed'
    91. Mono path[1] = '/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit'
    92. Mono config path = '/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/MonoBleedingEdge/etc'
    93. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56855
    94. ImportWorker Server TCP listen port: 53050
    95. Begin MonoManager ReloadAssembly
    96. Registering precompiled unity dll's ...
    97. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.16f1/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
    98. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll
    99. Register platform support module: /Applications/Unity/Hub/Editor/2019.4.16f1/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll
    100. Registered in 0.003952 seconds.
    101. Native extension for LinuxStandalone target not found
    102. Native extension for OSXStandalone target not found
    103. Native extension for WindowsStandalone target not found
    104. Refreshing native plugins compatible for Editor in 32.12 ms, found 0 plugins.
    105. Preloading 0 native plugins for Editor in 0.00 ms.
    106. Mono: successfully reloaded assembly
    107. - Completed reload, in  3.314 seconds
    108. Registering precompiled user dll's ...
    109. Registered in 0.056117 seconds.
    110. Platform modules already initialized, skipping
    111. Validating Project structure ... 0.002194 seconds.
    112. Shader import version has changed; will reimport all shaders...
    113. Upgrading shader files ...0.008423 seconds.
    114. Begin MonoManager ReloadAssembly
    115. EditorUpdateCheck: Response {"latestversionstring":"2019.4.20f1 (6dd1c08eedfa)","latestversion":99999,"latestversionmessage":"A new LTS version of Unity is available. Please update to the latest released version at your convenience. Release notes available on the download site.","updateurl":"https://unity3d.com/unity/qa/lts-releases","updateinterval":3600} updateurl = https://unity3d.com/unity/qa/lts-releases interval = 3600
    116. 2021-02-11 09:36:51.245 Unity[32855:298128] CAMetalLayer ignoring invalid setDrawableSize width=0.000000 height=0.000000
    117. 2021-02-11 09:36:51.256 Unity[32855:298128] CAMetalLayer ignoring invalid setDrawableSize width=0.000000 height=0.000000
    118. Obtained 34 stack frames.
    119. #0  0x00000112ccaf9e in SerializableManagedRefsUtilities::BackupAndDeflateAll(DomainReloadingData&)
    120. #1  0x00000112bfd325 in MonoManager::BeginReloadAssembly(DomainReloadingData&)
    121. #2  0x00000112bfc98d in MonoManager::ReloadAssembly()
    122. #3  0x00000110b84028 in LoadDomainAndUserAssemblies()
    123. #4  0x00000110b845d7 in RegisterScriptsAndTryLoadingExistingUserAssemblies()
    124. #5  0x000001112205b0 in RefreshInternalV2(AssetDatabase::UpdateAssetOptions, ScanFilter const&, InternalRefreshFlagsV2)
    125. #6  0x0000011121584f in StopAssetImportingV2(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*)
    126. #7  0x00000111215b5b in InitialScriptRefreshV2(bool)
    127. #8  0x000001102afd85 in Application::InitializeProject()
    128. #9  0x00000113d7b9ad in -[EditorApplication applicationDidFinishLaunching:]
    129. #10 0x007fff399d480f in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
    130. #11 0x007fff399d47a3 in ___CFXRegistrationPost1_block_invoke
    131. #12 0x007fff399d4718 in _CFXRegistrationPost1
    132. #13 0x007fff399d4384 in ___CFXNotificationPost_block_invoke
    133. #14 0x007fff399a44fd in -[_CFXNotificationRegistrar find:object:observer:enumerator:]
    134. #15 0x007fff399a39a9 in _CFXNotificationPost
    135. #16 0x007fff3c021786 in -[NSNotificationCenter postNotificationName:object:userInfo:]
    136. #17 0x007fff36c584f3 in -[NSApplication _postDidFinishNotification]
    137. #18 0x007fff36c58232 in -[NSApplication _sendFinishLaunchingNotification]
    138. #19 0x007fff36c552f3 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:]
    139. #20 0x007fff36c54f38 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
    140. #21 0x007fff3c04ca26 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
    141. #22 0x007fff3c04c890 in _NSAppleEventManagerGenericHandler
    142. #23 0x007fff3ad51203 in _AppleEventsCheckInAppWithBlock
    143. #24 0x007fff3ad50929 in _AppleEventsCheckInAppWithBlock
    144. #25 0x007fff3ad48bd7 in aeProcessAppleEvent
    145. #26 0x007fff3861b7fa in AEProcessAppleEvent
    146. #27 0x007fff36c4f2d1 in _DPSNextEvent
    147. #28 0x007fff36c4d880 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
    148. #29 0x007fff36c3f58e in -[NSApplication run]
    149. #30 0x007fff36c11396 in NSApplicationMain
    150. #31 0x00000113dbda2f in EditorMain(int, char const**)
    151. #32 0x00000113dbdd39 in main
    152. #33 0x007fff738b0cc9 in start
    153. Launching bug reporter
    154. /Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston/lib/winston/logger.js:307
    155.       throw ex;
    156.       ^
    157.  
    158. Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    159.     at doWrite (_stream_writable.js:413:19)
    160.     at writeOrBuffer (_stream_writable.js:401:5)
    161.     at Socket.Writable.write (_stream_writable.js:301:11)
    162.     at Console.log (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston/lib/winston/transports/console.js:79:23)
    163.     at Console._write (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston-transport/index.js:82:19)
    164.     at doWrite (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    165.     at writeOrBuffer (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    166.     at Console.Writable.write (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    167.     at DerivedLogger.ondata (/Applications/Unity/Hub/Editor/2019.4.16f1/Unity.app/Contents/Resources/PackageManager/Server/node_modules/winston/node_modules/readable-stream/lib/_stream_readable.js:681:20)
    168.     at DerivedLogger.emit (events.js:201:15)
    169. QObject: Cannot create children for a parent that is in a different thread.
    170. (Parent is QObject(0x7f93290f7520), parent's thread is QThread(0x7f932650b900), current thread is Thread(0x7f9329299a80)
    171.  
     
  2. renatop

    renatop

    Joined:
    Aug 7, 2018
    Posts:
    11
    I'm having the same problem on 2019.4.18f1, but it happens kinda randomly between plays. Read through the release notes up to 2019.4.20f1, but it didn't seem to address this. Regardless, I'll try updating and using 20f1 for a while.
     
  3. renatop

    renatop

    Joined:
    Aug 7, 2018
    Posts:
    11
    Just had the error again on .20f1 when closing Unity, but it didn't had the message this time.
    Code (CSharp):
    1. QObject: Cannot create children for a parent that is in a different thread.
    2. (Parent is QObject(0x7fd08228ae60), parent's thread is QThread(0x7fd07b504e90), current thread is Thread(0x7fd0824143c0)
    3. QIODevice::write (QTcpSocket): device not open
    I'll see if other people on my team is experiencing this along the week and will probably file a bug report if it persists.