Hey everyone,
UPDATE - Solved!)
UPDATE -
For anyone else hitting this issue, I’ve found the issue and solution. The main error was this:
[Package Manager] Could not establish a connection with the Unity Package Manager local server process.
and more context from the log files:
UpmClient::Connect -- Could not connect to IPC stream "Upm-65411" after 30.0 seconds.
If the package manager is failing when trying to establish a connection, it smells like a networking issue. Scrubbing through google I’ve read a lot of similar, but not the same, issues but the solutions all had the same theme:
- connecting to a VPN (which would bypass some networking configuration stuff/firewall stuff)
- using a different network connection like your phone
In my case, I ran a bunch of steps:
1. flush ipfw rules
sudo pfctl -F all -f /etc/pf.conf
- Reset my network interfaces
In System Preferences > Network , click the “Location” dropdown and select Edit Locations .
- Click the “+” button to create a new location (e.g., “Reset Network”).
- This resets all network settings to default for this location. You can switch back to your previous location once the issue is resolved.
- Resetting SMC and PRAM/NVRAM:
Reset SMC:
Shut down your Mac.
Hold Shift + Control + Option + Power button for 10 seconds.
Release all keys and power the Mac back on.
Reset PRAM/NVRAM:
Shut down your Mac.
Turn it on and immediately press and hold Option + Command + P + R.
Hold the keys for about 20 seconds, then release them.
I’m guessing it was #1 and #2 that solved the issue. Likely some other package such as an older VPN I had used in the past had misconfigured some network settings which was preventing Unity from making a connection to the package server process.
I normally run Unity on my Windows machine, but since I’ll be traveling soon, I’m trying to get things running on my 2020 MacBook Pro (Intel). I don’t use it often, so when I booted it up, I naively updated to macOS Sonoma. Now, I’m on version 14.5, which, as far as I can tell, is the latest. For the life of me, I can’t get Unity to work.
I’ve tried uninstalling and reinstalling several different LTS versions, all 2022 versions, but no luck. The Hub launches fine, and I can pull down my working project from Git LFS, but regardless of the version, the same issue occurs: the editor splash screen shows up, saying “Unity Package Manager: Connecting to Package Manager,” and then after about 10-15 seconds, the splash screen disappears and nothing launches.
The same thing happens if I try to create a new project from scratch, like a basic 3D URP project. It starts to create the project, but I end up with an invalid project. None of the files are populated, and it shows up in the Hub, but when I click on it, it says “invalid project,” and there are no files. It seems like it’s failing before it even gets started.
I’ve checked for logs in both my existing project and the newly created project, but there’s nothing there. A couple of other things worth mentioning as I’ve been searching and trying other suggestions:
-
I do have a valid Pro license, which I’ve tried. I’ve also tried using a personal license to see if that would work.
-
I’ve tried disconnecting from my network and connecting to my phone’s network, using mobile data, but the same thing happened.
I’m out of ideas. Has anyone run into this and found a solution?
Thanks in advance!
UPDATE - Here is some relevant information from the logfiles:
UPDATE - Here is the relevant information from my logs:
upm.log
[2024-07-26T19:19:04.280Z][INFO] Command-line: /Applications/Unity/Hub/Editor/2022.3.39f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager -s 65411 -ipc -ipc-path /tmp/Unity-Upm-65411.sock -l 2
[2024-07-26T19:19:04.310Z][INFO] IPC server started (IPC path=/tmp/Unity-Upm-65411.sock).
[2024-07-26T19:19:04.311Z][INFO] Hint: To connect to this UPM instance, launch Unity with the command-line parameter -upmIpcPath Upm-65411.
[2024-07-26T19:19:34.046Z][INFO] Received shutdown request (SIGTERM), shutting down Unity Package Manager
In my Editor.log it’s hitting an un-handled error:
Player connection [140704324992960] Target information:
Player connection [140704324992960] * "[IP]
192.168.2.88 [Port] 55504 [Flags] 2 [Guid] 1921991075 [EditorId] 1921991075 [Version] 1048832 [Id] OSXEditor(0,Mikes-MacBook-Pro.local) [Debug] 1 [PackageName] OSXEditor [ProjectName] Editor"
Player connection [140704324992960] * "[IP]
192.168.4.80 [Port] 55504 [Flags] 2 [Guid] 1921991075 [EditorId] 1921991075 [Version] 1048832 [Id] OSXEditor(0,Mikes-MacBook-Pro.local) [Debug] 1 [PackageName] OSXEditor [ProjectName] Editor"
Player connection [140704324992960] Host joined multi-casting on [225.0.0.222:54997]...
Player connection [140704324992960] Host joined alternative multi-casting on [225.0.0.222:34997]...
[PhysX] Initialized MultithreadedTaskDispatcher with 8 workers.
No explicit failure code handling for error of type 24
No explicit failure code handling for error of type 24
No explicit failure code handling for error of type 24
No explicit failure code handling for error of type 24
No explicit failure code handling for error of type 24
......
[Package Manager] UpmClient::Connect -- Could not connect to IPC stream "Upm-65411" after 30.0 seconds.
[Package Manager] Could not establish a connection with the Unity Package Manager local server process.
[Package Manager] Server::Kill -- Server was shutdown
Thanks in advance!