Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Unity Editor Crashing on project start - Unity Package Manager error

Discussion in 'Editor & General Support' started by trialboom, Nov 17, 2017.

  1. trialboom

    trialboom

    Joined:
    Nov 16, 2017
    Posts:
    1
    Here's my system config:

    • Mac OS Sierra 10.12.6 (Note: I did update to High Sierra earlier, but had the exact same problem and thought it was a compatibility issue with new OS so reverted back to Sierra... But still same issue)
    • Unity 2017.2.0f3

    Debug Console:

    Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
    Exception Note: EXC_CORPSE_NOTIFY

    Termination Signal: Segmentation fault: 11
    Termination Reason: Namespace SIGNAL, Code 0xb
    Terminating Process: exc handler [0]

    VM Regions Near 0x8:
    -->
    __TEXT 0000000100000000-00000001048c3000 [ 72.8M] r-x/rwx SM=COW /Applications/Unity/Unity.app/Contents/MacOS/Unity

    Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
    0 com.unity3d.UnityEditor5.x 0x0000000102460767 PackageManager::packageAssets::RegisterPackages(std::vector<PackageManager::UpmPackageInfo, std::allocator<PackageManager::UpmPackageInfo> > const*) + 103


    Editor.log:

    [Package Manager] Server::Start -- Port 52649 was selected
    Launching external process: /Applications/Unity/Unity.app/Contents/Tools/nodejs/bin/node

    LICENSE SYSTEM [20171117 10:24:28] No start/stop license dates set

    LICENSE SYSTEM [20171117 10:24:28] Next license update check is after 2017-04-22T04:02:27


    COMMAND LINE ARGUMENTS:
    /Applications/Unity/Unity.app/Contents/MacOS/Unity
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
    2017-11-17 10:24:29.044 Unity Helper[6742:228639] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated.}
    2017-11-17 10:24:29.044 Unity Helper[6742:228639] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
    2017-11-17 10:24:29.044 Unity Helper[6742:228639] XType: unable to make a connection to the font daemon!
    2017-11-17 10:24:29.044 Unity Helper[6742:228639] registering /System/Library/Fonts/*, /System/Library/Fonts/Base/*, and /Library/Fonts/* locally
    /Users/roder/Pro_BUILD/OProBuild
    Loading GUID <-> Path mappings...0.000195 seconds
    Loading Asset Database...0.002263 seconds
    Audio: FMOD Profiler initialized on port 54900
    AssetDatabase consistency checks...0.017326 seconds
    Refreshing native plugins compatible for Editor in 0.02 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.

    [Unity Package Manager (Upm)] - Application terminated due to HTTP connection being closed on the other end.


    Any ideas as to how to fix this? It looks like an error with UPM... Tried everything I could find in forums thus far with no luck :(
     
  2. dakimaru

    dakimaru

    Joined:
    Nov 17, 2016
    Posts:
    2
    Same. Only that my Unity version is the latest beta right now, 2017.3.0f1. Also dont know if it has anything to do with this but I use FacebookSDK and FirebaseSDK, and have built on iOS and now in the middle of building for android.


    Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread

    Exception Type: EXC_BAD_ACCESS (SIGABRT)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000148
    Exception Note: EXC_CORPSE_NOTIFY

    VM Regions Near 0x148:
    -->
    __TEXT 0000000100000000-00000001049e3000 [ 73.9M] r-x/rwx SM=COW 3 [/Applications/Unity/Unity.app/Contents/MacOS/Unity]

    Application Specific Information:
    abort() called
     
  3. MacBoe

    MacBoe

    Joined:
    Nov 24, 2016
    Posts:
    3
    Build 2013.3.0f3 Package Manager times out, so unable to open any Unity Projects. Reverting to 2017.2.0f3 :(
     
  4. charlesb_rm

    charlesb_rm

    Joined:
    Jan 18, 2017
    Posts:
    485
    We have found that some users behind firewalls had the issue. Please check https://unity3d.com/unity/qa/patch-releases/2017.3.0p1 which contains a fix for this issue.
     
  5. hamzachaudhry

    hamzachaudhry

    Joined:
    Jul 24, 2016
    Posts:
    2
    Following is my log File, please help


    LICENSE SYSTEM [20171224 2:5:15] Next license update check is after 2017-12-24T17:57:15


    LICENSE SYSTEM [20171224 2:5:15] 00330-80000-00000-AA209 != 00330-80000-00000-AA670

    Built from '2017.3/staging' branch; Version is '2017.3.0f3 (a9f86dcd79df) revision 11139181'; Using compiler version '160040219'
    OS: 'Windows 10 (10.0.0) 64bit' Language: 'en' Physical Memory: 8126 MB
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    [Package Manager] Server::Start -- Port 62185 was selected
    Error creating external process 'E:/unity 2017/Editor/Data/Resources/Upm/upm-win.exe' : The operation completed successfully.


    Error cleaning up external process: The handle is invalid.


    [Package Manager] Server::Start -- Cannot start server process [path: `E:/unity 2017/Editor/Data/Resources/Upm/upm-win.exe`]

    COMMAND LINE ARGUMENTS:
    E:\unity 2017\Editor\Unity.exe
    -openfile
    E:\Unity games\Big Bluff\Assets\Scenes\gamePlay2p.unity
    Opening project via file: E:/Unity games/Big Bluff/Assets/Scenes/gamePlay2p.unity
    E:/Unity games/Big Bluff
    Loading GUID <-> Path mappings...0.000183 seconds
    Loading Asset Database...0.026287 seconds
    Audio: FMOD Profiler initialized on port 54900
    AssetDatabase consistency checks...0.077423 seconds
    Refreshing native plugins compatible for Editor in 21.15 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    [Package Manager] PackageManager Server::Start -- Process restart attempt #2

    [Package Manager] Server::Start -- Port 62188 was selected
    Error creating external process 'E:/unity 2017/Editor/Data/Resources/Upm/upm-win.exe' : The operation completed successfully.


    (Filename: C:\buildslave\unity\build\Editor/Platform/Windows/ExternalProcess.cpp Line: 143)

    Error cleaning up external process: The handle is invalid.


    (Filename: C:\buildslave\unity\build\Editor/Platform/Windows/ExternalProcess.cpp Line: 540)

    [Package Manager] Server::Start -- Cannot start server process [path: `E:/unity 2017/Editor/Data/Resources/Upm/upm-win.exe`]
    [Package Manager] Failed to start Unity Package Manager.
     
  6. DharmeshKumarPushp

    DharmeshKumarPushp

    Joined:
    Oct 15, 2017
    Posts:
    1
    hello guys, i found the solution of this problem. i also faced this "unity package manager error" problem. this problem occurs because of antivirus. My k7 antivirus eat an editor file, when i restore that file from k7's 'Quarantine'. the problem was solved. if u face this problem then download the unity again but remember when u install the software plz turn off your antivirus for few minuts.
     
  7. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,650
  8. hamzachaudhry

    hamzachaudhry

    Joined:
    Jul 24, 2016
    Posts:
    2
  9. svwillia

    svwillia

    Joined:
    Aug 28, 2014
    Posts:
    48
    I am facing this same issue right now.
     
  10. keith_ttlabs

    keith_ttlabs

    Joined:
    Nov 7, 2016
    Posts:
    1
    I am still facing this issue with the latest 2017.3.1f1 and 2017.3.0p1
     
  11. charlesb_rm

    charlesb_rm

    Joined:
    Jan 18, 2017
    Posts:
    485
    Then it's another problem. Please open a bug and make sure your editor.log is attached.
     
  12. MoinTom

    MoinTom

    Joined:
    May 8, 2015
    Posts:
    15
    I have the same error and here what i did + log:

    builder:unity-build-server builder$ /Applications/Unity2017.3.0/Unity.app/Contents/MacOS/Unity -batchmode -quit -projectPath /Users/builder/buildtemp/develop_android -executeMethod build.AndroidBuild.BuildDevelopAndroidGoogle

    Segmentation fault: 11
    LICENSE SYSTEM [201838 17:45:39] Next license update check is after 2018-03-09T16:07:28

    DisplayProgressbar: Unity license
    [Package Manager] Server::Start -- Port 62617 was selected
    Launching external process: /Applications/Unity2017.3.0/Unity.app/Contents/Resources/Upm/upm-macos

    COMMAND LINE ARGUMENTS:
    /Applications/Unity2017.3.0/Unity.app/Contents/MacOS/Unity
    -batchmode
    -quit
    -projectPath
    /Users/builder/buildtemp/develop_android
    -executeMethod
    build.AndroidBuild.BuildDevelopAndroidGoogle
    Successfully changed project path to: /Users/builder/buildtemp/develop_android
    /Users/builder/buildtemp/develop_android
    Loading GUID <-> Path mappings...0.000074 seconds
    Loading Asset Database...0.015495 seconds
    Audio: FMOD Profiler initialized on port 54900
    AssetDatabase consistency checks...Rebuilding GUID cache ... 0.001482 seconds.
    0.081551 seconds
    Refreshing native plugins compatible for Editor in 10.16 ms, found 0 plugins.
    Preloading 0 native plugins for Editor in 0.00 ms.
    DisplayProgressbar: Unity Package Manager
    [Package Manager] Resolving 4 packages:
    [Package Manager] * Package : com.unity.ads@2.0.3
    (location: /Users/builder/Library/Unity/cache/packages/packages.unity.com/com.unity.ads@2.0.3)
    [Package Manager] * Package : com.unity.analytics@2.0.13
    (location: /Users/builder/Library/Unity/cache/packages/packages.unity.com/com.unity.analytics@2.0.13)
    [Package Manager] * Package : com.unity.purchasing@0.0.19
    (location: /Users/builder/Library/Unity/cache/packages/packages.unity.com/com.unity.purchasing@0.0.19)
    [Package Manager] * Package : com.unity.standardevents@1.0.10
    (location: /Users/builder/Library/Unity/cache/packages/packages.unity.com/com.unity.standardevents@1.0.10)
    [Package Manager] Resolve completed
    Initialize engine version: 2017.3.0p4 (25a5860ad58d)
    GfxDevice: creating device client; threaded=0
    Renderer: Apple Software Renderer
    Vendor: Apple Inc.
    Version: 4.1 APPLE-14.0.16
    GLES: 0
    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_depth_bounds_test GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_st
    orage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
    OPENGL LOG: Creating OpenGL 4.1 graphics device ; Context level <OpenGL 4.1> ; Context handle 293846528

    UnityVersion: Unity 2017.3.0p4
     
  13. adeleye

    adeleye

    Joined:
    Dec 27, 2019
    Posts:
    1
    I installed the latest version of unity in my windows laptop, it worked fine at first then I switched off my laptop, later that day when I booted my computer and tried to open the unity app it won't open, the dialog box said there's an error with the package manager and was cos of a firewall or sth, I followed the path but couldn't find the Unity Package Manager.exe file, so I unistalled it and downloaded an older version but still gave similar error, I've tried everything on forums and I'm starting to think the problem is with my laptop. Please I need an immediate response thanks! images.png images.jpeg images.png images.jpeg
     
  14. chechoggomez

    chechoggomez

    Unity Technologies

    Joined:
    Feb 25, 2013
    Posts:
    91
    Hi @adeleye,
    There are several things that you could possibly try:
    - Make sure that Unity is allowed through your Windows Defender Firewall
    - Enter "http://127.0.0.1" into the web browser. If it leads somewhere, it might mean that one of the ports might be blocked by other application which has to be closed
    - Disable your network adapter and try to open the project again
    - Install the newest Windows updates.
    - If the last step did not help, try disabling Windows Defender
     
  15. elec_tk

    elec_tk

    Joined:
    May 5, 2020
    Posts:
    1
    i solved, i have to uninstall unity hub and unity, then i clean manually all the unity folders in the regedit, include Hkey_classes_root, reinstall hub and last unity version and now it´s working
     
    charlesb_rm likes this.