UPM health check keeps on failing.

I’ve installed unity for the first time and I’m having problems making it work. Whenever I try to open a project on unity hub, I keep getting this error message:

9147739--1271377--upload_2023-7-15_5-6-34.png

Here’s what I’ve tried so far:

  1. I’ve turned off my anti-virus, added an inbound and outbound rule for unity domains(packages.unity.com, etc.).
  2. I’ve tried reinstalling unity-hub and the editor multiple times.
  3. I’ve tried turning off my firewall as well.
  4. I’ve tried changing the installation directories.

I’ve also attached my upm logs and editor logs. I’m already out of ideas, so hopefully someone can tell me why upm keeps on failing.

P.S. I’m not using any proxy servers.
P.P.S I’ve updated to 2022.3.5f1 and I’m still getting the same error message.

9147739–1271389–Editor.log.txt (4.78 KB)
9147739–1271392–upm-diag.log.txt (1.16 KB)

Hi @jedlionheart ,

I’m sorry to hear you’re running into this error. Based on the log files you attached, I see the Unity Package Manager process is running into an unhandled error and does not properly start. It doesn’t seem to be related to connectivity (so, not related to proxies and firewall network rules).

Could you please attach the upm.log file, which is located in the same folder as the Editor.log file? It should provide more info on the unhandled error.

Thanks for replying @maximeb_unity !
I just checked the Editor folder. Unforunately, it doesn’t contain the upm.log file. Here are the contents of my folder:

9152186--1272428--upload_2023-7-17_23-27-22.png

Just in case you need it, I’ll be attaching the editor log and upm-diag log that I got after updating to the latest version.

9152186–1272431–Editor.log.txt (2.04 KB)
9152186–1272434–upm-diag.log.txt (1.14 KB)

I have a feeling this might be related to the character set/encoding of the path to the log folder.

Could you try to run this in a command prompt and copy/paste the output of the command?
"C:\Program Files\Unity Hub\2022.3.4f1\Editor\Data\Resources\PackageManager\Server\UnityPackageManager.exe" -cl4 -ipc

I changed the editor version on the command, ran it and got this error:

C:\>"C:\Program Files\Unity Hub\2022.3.5f1\Editor\Data\Resources\PackageManager\Server\UnityPackageManager.exe" -cl4 -ipc
OpenSSL configuration error:

15660:error:0E079065:configuration file routines:def_load_bio:missing equal sign:C:\build\output\unity\upm\build\node\16.20.0\deps\openssl\openssl\crypto\conf\conf_def.c:407:line 1

P.S. In my attempts to fix the isses, I’ve already uninstalled 2022.3.4f1 and I’m currently running 2022.3.5f1.

It sounds like you might have a OPENSSL_CONF environment variable defined and pointing to a OpenSSL configuration file that’s tripping up UPM (the OpenSSL library used inside it) when it tries to parse this SSL configuration. Is this something you have configured yourself? Can you check if that environment variable is set and if so, try unsetting the environment variable or checking the contents of the configuration file to make sure it’s correct?

I just checked my environment variables and I did have the OPENSSL_CONF defined as a system environment variable. I deleted the variable and booted up Unity and it worked! I’m finally able to make a project in Unity.

Thank you very much for your help @maximeb_unity !

Glad this solved your problem!

Just wanted to thank you because I faced the exact same problem, and was looking through the forums for hours, until I came across this post. And I was able to finally run the Unity Project. Thanks!