Hi, I was trying to open a new project, but every time I try, it gets stuck on starting the server. Then it appears this message saying that "Could not establish a connection with the Unity package manager local server". Finally when I run the diagnose, it creates this report saying that the UPM Health Check failed. This is the diagnostic report: " Unity Package Manager Diagnostics (v0.1.5) ============ Ran 7 checks ============ 6 succeeded 1 failed ============ ✅ UPM registry reachable (PASS) Make an HTTP request to the UPM package registry >> HTTP/1.1 200 OK >> X-Powered-By: Express >> Provider: Genesis >> Date: Thu, 11 Jun 2020 19:08:24 GMT >> Connection: close ✅ Ping UPM registry (PASS) Measure the latency of the UPM package registry API >> 5 pings made in 5.899 seconds >> Average latency: 141.24 ms >> Minimum latency: 139.69 ms >> Maximum latency: 144.26 ms >> Standard deviation: 1.84 ✅ Ping UPM download (PASS) Measure the latency of the UPM package download endpoint >> 5 pings made in 5.465 seconds >> Average latency: 43.93 ms >> Minimum latency: 41.73 ms >> Maximum latency: 46.56 ms >> Standard deviation: 1.93 ✅ UPM registry download speed (PASS) Test the Internet connection using the UPM package registry >> Measured speed to the UPM registry: 17.95 Megabits per second ✅ Speedtest.net (PASS) Test the Internet connection using Speedtest.net >> Measured speed to the Speedtest.net server: 12.27 Megabits per second ✅ HTTP proxy environment variables (PASS) Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY) >> No proxy support has been configured through environment variables. ❌ UPM health check (FAIL) Start the UPM process and call its health endpoint >> Server started but did not respond to health requests: >> Error: ETIMEDOUT " I hope you can help me fix this issue.
Hey there, Could you please go through the pinned thread outlined here for more assistance? https://forum.unity.com/threads/rea...g-project-issues-with-package-manager.869683/
Hey, I have already made all the changes that were written in the pinned thread, but I’m still getting the same error. What can I do?
Hey, I have already made all the changes that were written in the pinned thread, but I’m still getting the same error. What can I do?
Could you please attach your editor + upm log files to a post so we can take a deeper look? https://docs.unity3d.com/Manual/LogFiles.html
Here it is. Editor log: '' [LicensingClient] ERROR Failed to connect to local IPC [Licensing::Module] Failed to connect to channel: LicenseClient-Gui [Licensing::Module] Successfully launched the LicensingClient [LicensingClient] Timed-out attempting to connect to the Licensing Client on pipe: LicenseClient-Gui. [LicensingClient] ERROR Failed to connect to local IPC [Licensing::Module] Failed to connect to channel: LicenseClient-Gui IPC channel to LicensingClient doesn't exist; falling back to Legacy licensing [LicensingClient] ERROR Failed to disconnect local IPC connection LICENSE SYSTEM [2020624 21:8:46] Next license update check is after 2020-06-25T19:13:30 LICENSE SYSTEM [2020624 21:8:46] 00326-10000-00000-AA872 != 00326-10000-00000-AA022 Built from '2019.4/release' branch; Version is '2019.4.1f1 (e6c045e14e4e) revision 15122501'; Using compiler version '191627012' OS: 'Windows 10 (10.0.0) 64bit' Language: 'en' Physical Memory: 3537 MB BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0 [Package Manager] Server::Start -- Port 51216 was selected COMMAND LINE ARGUMENTS: C:\Program Files\Unity\Hub\Editor\2019.4.1f1\Editor\Unity.exe -projectpath C:\Users\Gui\APP's e Jogos\Apps Unity\The Last Life -useHub -hubIPC -cloudEnvironment production -hubSessionId c04f2ca0-b64e-11ea-bbf3-4be0c47bfeab -accessToken dCcXsYxK8j1zUtY2pL9EOj56G4S4N_yPimiOBnetAmc006f Successfully changed project path to: C:\Users\Gui\APP's e Jogos\Apps Unity\The Last Life C:/Users/Gui/APP's e Jogos/Apps Unity/The Last Life Using Asset Import Pipeline V2. [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [10] seconds [Package Manager] Server::Kill -- Server was shutdown [Package Manager] PackageManager Server::Start -- Process restart attempt #2 [Package Manager] Server::Start -- Port 51219 was selected [Package Manager] Cannot connect to Unity Package Manager local server [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [10] seconds [Package Manager] Server::Kill -- Server was shutdown [Package Manager] PackageManager Server::Start -- Process restart attempt #3 [Package Manager] Server::Start -- Port 51220 was selected [Package Manager] Cannot connect to Unity Package Manager local server [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [10] seconds [Package Manager] Server::Kill -- Server was shutdown [Package Manager] PackageManager Server::Start -- Process restart attempt #4 [Package Manager] Server::Start -- Port 51221 was selected [Package Manager] Cannot connect to Unity Package Manager local server [Package Manager] Could not establish a connection with the Unity Package Manager local server process. This is most likely due to a proxy or firewall configuration. Make sure the process [C:/Program Files/Unity/Hub/Editor/2019.4.1f1/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe] is reachable via HTTP on the IP address 127.0.0.1 in Windows Defender or any other proxy/firewall software configuration. Exiting without the bug reporter. Application will terminate with return code 1 '' Upm Log: '' [2020-06-24T20:09:29.018Z][INFO] Starting Server [2020-06-24T20:09:29.103Z][INFO] Server started on port [51221] [2020-06-24T20:09:30.106Z][ERROR] [Unity Package Manager (Upm)] Parent process [12580] was terminated '' Thanks for all the Help
So from what we can see here according to the log files and diagnostics report, UPM starts, but Unity is unable to connect to it over local HTTP, you're running on Windows, so it may be an issue with the Windows Firewall rules or some other firewall running locally. Additionally it's worth checking out the stickied post just to double check anything you may have missed: https://forum.unity.com/threads/rea...g-project-issues-with-package-manager.869683/
Hey there, It is may be that you are using any web server (like node.js, xampp or etc that is using your server) on back. So, please before using unity please stopped them. If they will not stop so restart your system to proceed.
Just installed 2020.1.16f1 and get this from the log file: ⌠UPM health check (FAIL) Start the UPM process and call its health endpoint >> Server exited unexpectedly. Exit code: 216 Rebooting didn't help. Pressing Retry a bunch of times didn't help. I am trying to open a brand new empty project. Running the UnityPackageManager.exe in a command window I get this: Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher. Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this check, but Node.js might not execute correctly. Any issues encountered on unsupported platforms will not be fixed. I am running Windows 7 but it is listed in the system requirements. I don't use Node.js so am I okay if I skip the platform check?
Hey, Sorry to see you are running into this issue and thanks a lot for providing all the information about it. Package Manager Server is a Node js application. If you set the environment variable NODE_SKIP_PLATFORM_CHECK to 1, can you open your project and work on it? There are instruction on how to set up environment variables in this forum post, I think you already took a look into it We are looking into this issue, thanks again for reporting. Cheers, Supi
I did get in after setting the environment variable and rebooting. I tried updating a project from 2019.3.0 to 2020.1.16f1 and a lot of things broke. Many flags were unset. Going through to find every problem the conversion might have caused is too much. So I am sticking with 2019.3. I have another game that is stuck in Unity 5 because later versions broke the lighting significantly. It is sad that the update process is so broken. I have 3 games out using Unity and each one requires a different version of Unity. Now I have a forth.
hmm in my particular case, I run on CMD Windows 10 "netstat -aon" and I look for the Unity Port attached to 127.0.0.1 and then look for the PID, copy and run another CMD and write "taskkill /PID XXXXX /F" and this solves the issue (for me at least)
Hi, I am neither able to launch 2021.3 Unity nor the 2020.3.33. I get the upm launch error. I have no such issues with unity 2020.3.31. I have disabled firewall and set up the inbound rules and reinstalled but the issue persits. The diagnostic report is as follows ------------------------------------------------------------------------- Unity Package Manager Diagnostics (v0.2.0) ============ Ran 6 checks ============ 3 succeeded 1 failed 2 returned a warning ============ ✅ UPM registry reachable (PASS) Make an HTTP request to the UPM package registry >> HTTP/1.1 200 OK >> X-Powered-By: Express >> Provider: Genesis >> Date: Mon, 18 Apr 2022 12:17:04 GMT >> Connection: close ⚠️ Ping UPM registry (WARNING) Measure the latency of the UPM package registry API >> 3 pings made in 5.666 seconds >> Average latency: 328.91 ms >> Minimum latency: 309.54 ms >> Maximum latency: 349.54 ms >> Standard deviation: 20.03 ⚠️ Ping UPM download (WARNING) Measure the latency of the UPM package download endpoint >> 3 pings made in 6.603 seconds >> Average latency: 40.23 ms >> Minimum latency: 37.65 ms >> Maximum latency: 43.89 ms >> Standard deviation: 3.26 ✅ UPM registry download speed (PASS) Test the Internet connection using the UPM package registry >> Measured speed to the UPM registry: 9.39 Megabits per second ✅ HTTP proxy environment variables (PASS) Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY) >> Proxy support has been configured through the following environment variables: >> UNITY_NOPROXY = localhost,127.0.0.1 ❌ UPM health check (FAIL) Start the UPM process and call its health endpoint >> Server exited unexpectedly. Exit code: 3221225785 ---- I am also not able to launch the unitypackagemanager form the command prompt to perform the health check " UnityPackageManager -p 10010" . Attaching the error screen shot Now that Package Manager is running, try browsing to http://localhost:10010/health (replacing 10010 with your own port number if needed) to check that Package Manager is responding.
Enjoying the same error. Trying to launch Unity, I get the above diagnostic registering Project Manager's health check failure. Trying to pen it results in, "The procedure entry point Event SetInformation could not be located in the dynamic link library Advapi32.dll." So Windows 7 users can't launch Unity 2021 LTS. None of the solutions listed fix the issue. 2019 and 2020 run fine with no errors. [EDIT!] Fixed, with the stupidest primate brain solution possible: I deleted the Package Manager folder from the Resources folder. Copied the Package Manager folder from 2021.1.22, to the 2022.3.0f1 Resources folder... ...walla. Runs fine. Throws warnings but they are fixable.
Ultimately I caved and just installed Win10 on a new SSD. Which, of course, broke Unity's licensing. So that's fun. Plastic was crashing on 7, couldn't connect, all kinds of issues. If your project doesn't need plastic-scm or other package manager online support, that's a temporary solution. Glad it helped.
Hi, we've been investigating this over the past few days (since this post popped up) and we cannot reproduce the issue. @Kiteva4 and @astanid Is the Windows 7 machine where it doesn't work fully updated? Can you navigate to C:\Windows\system32, find "advapi32.dll", open its properties and show its version info? "EventSetInformation" exists on our Windows 7 installs:
it was not updated in ages (it was installed almost 10 years ago) and it will never be updated - cause even occasional updates from my experience have like 30% chance to kill the system. just spend half a day yesterday restoring advapi32.dll info it's in russian but i guess numbers are clear Can upload latest dll if it's a good idea to replace it ?
Well, that kind of explains it. Our minimum system requirements is Windows 7 Service Pack 1, and you seem to not have service pack 1 installed. I guess it worked by accident previously, and we didn't catch the breakage as we only test Windows 7 Service Pack 1. Replacing system DLLs is way riskier than running Windows updates. It is almost guaranteed to brick your system. Since your system is below our system requirements, we will not be able to fix it. Here is an issue tracker link that we are going to resolve as "Won't fix": https://issuetracker.unity3d.com/issues/package-manager-doesnt-start-on-windows-7#comments
Windows 7 originally had build number of "6.1.7600". When service pack 1 got released, that got bumped to "6.1.7601". The screenshot from your DLL shows that the DLL came from original Windows 7 installation (from 2009), rather than the updated Service Pack 1 (from 2011). I don't know exactly why that is (or what kind of history your machine went through), but I assume that something went wrong when updating and not everything got updated fully.
Hey Tautvydas-Zilys, that pointer to the advapi32.dll was a great help. Instead of fully updating with the last monthly rollup that came before end of support 2020-01-15 I updated just with the SHA-2 code signing support update as it deals with the named dll and actualy fixed the problem opening a project / health check fail. There is something to say about the versions of the advapi.dll. I started out from an super old iso: Windows 7 Professional Service Pack 1 build number 676939 untouched was written on it in 2012. In the system32 folder advapi32.dll is versioned 6.1.7600.16385, in sysWOW64 6.1.7601.17514, both with no EventSetInformation function. CMD > SYSINFO stated 6.1.7601 Service Pack 1 Build 7601. After applying that KB4474419 version numbers changed to 6.1.7601.24384 and 6.1.7601.24384 respectively and the check for EventSetInformation with Dependencies turned out positive. btw try AltGR + PrtScn to get just the window itself into the clipboard...no snipping tool needed
Thank you so much @maidjerry and @ScorphiusMultiplayer !! I've been scouring the internet and the Unity forum searching for answers to this. Removed Unity 2020/2021 and Unity Hub and reinstalled, fixed the Windows firewall settings, the environment variables, nothing worked - Package Manager would always crash and diagnostics would always fail at the UPM health step (step 6). KB4474419 was the way to go! Installed it, restarted my computer, and now Unity 2021.3.4 finally works!
Thanks a lot for the "update KB4474419 suggestion! 12-8-2022 and finally I Can run unity 2021.3.7f1 on Windows 7 !