Unity doesn't open from Unity hub

I’m on Windows 10 and I when I open a Unity project from Unity hub, it never opens. The unity splash screen will show up, it’ll display for like up to 10 minutes, but it’ll eventually close, no editor will open. If I try to open the same project again from Unity Hub, it’ll say the project is already open.

I’m able to open the project if I double click a scene file in my Finder (skipping Unity Hub).

Anyone else have this problem?

I should note, I had a problem before with opening Unity Hub in the first place before ( Similar to this post ). Adding ipconfig to my system variables allowed Unity Hub to open.

7 Likes

I had this issue before and I found that by manually opening the editor, it asked me to fetch a new license, which I did. I could then open it with Unity Hub. Not sure if the solution is the same though for you.

5 Likes

When I open the editor it doesn’t ask me to fetch a new license. I have a pro version activated on my working editor (the installed one that opens if I open it directly).

1 Like

Hi!
Sorry to hear you have trouble using the Hub with your project.
Could you please provide us with more details to troubleshoot your issue?

  • Which editor are you trying to open the project with?
  • What is your project’s folder structure?

I too am having this issue,

Just to hand over the info asked above.

Editor/Unity Version for project: 2018.1.0b13
Assets > Everything else

Opening the project with the version then using hub seems to fix the issue but still should not need to have to do a workaround when using a commercial product.

2 Likes

Hi,
Unfortunately, I still cannot reproduce your issue.

Could you reproduce the issue or your side and then send us the editor logs as well as the Hub’s log?

The editor logs are here:
macOS: ~/Library/Logs/Unity/Editor.log
Windows: C:\Users\username\AppData\Local\Unity\Editor\Editor.log

The Hub logs are here:
Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
macO~/Library/Application support/UnityHub/logs

1 Like

Just going to post it here, as I have no idea where to send it to.
https://pastebin.com/cQ3EZFmY < Editor
https://pastebin.com/MZn9BBgA < Hub

Thanks for the logs!
I’m still trying to reproduce your issue, but no luck yet.

So:

  1. I can create projects and it’ll open them while creating them
  2. Re-installed and still nothing still wont open the project

Another issue is the fact every time my computer is started it asks for the license again.
The whole thing kinda feels like it wasn’t even tested correctly before being released.

OS: Windows 7

Oh! I was able to reproduce your error!

  1. What is your context?
    Are you working in a work environment, a school environment or at home?

It seems that your license file gets deleted before opening the project.
2) Can you try this then:

  • Open the Hub
  • Enter your license information (if needed)
  • Verify the folder containing your license: C:\ProgramData\Unity. Does it contain a file named Unity_lic.ulf? Or Unity_lic.ulf.backup?
  1. Are you aware of a process that would wipe out the folder or the folder content or even prevent it from being writable?

Thanks for your help!

  1. Home/Work
  2. I have a unity_lic.ulf (will restart and check if it is still there or not, and edit this post if it is still there or not)
  3. No, and there shouldn’t be one
    Microsoft OneDrive < Pic of the license error beside my license file existing

To rule out a permission problem on the file, could you rename the license file (and the backup) and restart the Hub? (it will ask you to enter your license again). Then try fully quitting the Hub and restarting. Does it still ask for your license?

1 Like

Renamed it, restarted my PC and it did not ask me to re-activate my license.

So, is the problem fixed when you try to open the project then?

License not being read seems to be fixed, however, still can’t open projects through the hub.

So you still see the splash screen for a moment and then it closes without importing assets or anything?
Also, when opening the project directly with the editor, it opens without asking for the license or anything?

Could you send both logs again after a repro of opening the project through the Hub, to see if there is a difference now that the license is fixed?

Thanks again for all your help in tracking this down

  1. Yes a splash screen shows up, nothing else pops-up like the loading bars or anything else.
  2. It asks for it when just opening the editor, has nothing to do with a project. (normally asks though after opening the hub first though)
  3. can do later as have other things I gotta do at the moment.
    3.1) Will try opening thru the hub, posting the logs, then opening thru the editor, posting the logs, then re-open thru the hub then post the logs again.

Microsoft OneDrive ← Hub before Editor being opened
Microsoft OneDrive ← Editor Opened
Microsoft OneDrive ← Hub after opening the editor.
Sorry for the 2nd post.

Just bumping this so someone from Unity can see the logs.

1 Like

Constantly getting 'Error launching application: The application path ‘C:\Program Files.…Unity.exe’ cannot be opened.

Tried giving unity hub administrator rights but it doesn’t actually finish opening the main unity hub ui when I do that.

Anyone else having this issue?

1 Like