Sick of having to be online to use unity

How Do I use unity without being online?
I like to shut everything down when I’m working, take the firewall off, the internet cable out, everything, but unity won’t start up unless I have a connection. Is this by design or something wrong on my end?

ok interesting,
Hub shows me signed out (so cannot open any projects)…
But Unity editor does open projects just fine (if you open them directly with commandline or using 3rd party unity launchers).

Seems to be bugged, so better report as bug.

Start it, sign in, then go offline. From what I recall you can work offline for up to 72 hours.

wasn’t offline supposed to be max 30 days?
does that also mean that you cannot shutdown computer during this time, since hub wont start in offline(?)

Seems pretty short-sighted to remove all access to documentation and examples, unless you’re in the 1980s and have a lawyer’s bookcase with a row of IBM three-ring binders containing every single API and toggle switch available.

Don’t quote me on this but this is what it used to be, and the 72 hours is what will be (Unity 6) or already is.

I was going to say the same but … if you only do content production it might be effective. But as a programmer of course I constantly look things up on the Interwebz.

seems like you can use unity editor, but just not through hub… (which doesn’t make any sense for regular users…)

so the workaround is to launch your project manually,
-projectPath

This.

Do this every day so that you don’t get signed out.

I’m a recluse, old school.

Besides, I can access the net when I need it, like everyone else, so saying it’s short sighted is pretty stupid. When I’m busy is not when I need to be online and I don’t want to be forced to be because unity locks you into it. From the comments, it appears it’s not a fault on my side but something unity are actually doing by design

Yes, but only for Unity Personal. Other licensing tiers aren’t supposed to be affected by this but it’s also part of the incoming changes so if I had to guess it’s simply not implemented yet.

https://support.unity.com/hc/en-us/articles/23956583533844-Named-User-licensing-NUL-FAQ

As long as you have a valid token the hub will consider you logged in. So you can shutdown your computer and open hub without a network connection as long as you didn’t sign out.

ok nice! it does work 3.8.x (previously tested in 3.6.1 and it showed me signed out, if no internet connection).

That sounds about right… I think sticking users at the sign in screen launched in 3.6. I’m curious mgear how does your launcher handle auth/hub/editor ? Is there a command line argument that passes an auth token to the editor ?

Not yet, but if i have time to look into that, will definitely add something like that, or otherwise need to make actual login system… (i did look into Hub ICP system, can send messages there etc. but probably not worth going that way for getting auth/license.)

So now it is just a launcher (using editor commandline -projectpath and if hub is not signed in, editor wont be either)

More info on this here, for those curious: https://support.unity.com/hc/en-us/articles/23956583533844-Named-User-licensing-NUL-FAQ

So what about a machine thats offline that can never connect to the internet.

Can I not use Hub? I get that you can bipass with --projectpath and that will just launch the project.. but what if I wish to use some of the features in hub, like templates.

We have a valid license. What gives?

if you want to create new project, with templates,
you could download templates on another pc,
then copy files from C:\Users\%USERNAME%\AppData\Roaming\UnityHub\Templates
into your offline pc,

then create new project with:
-cloneFromTemplate yourtemplatefile.tgz

*there’s also unity CLI now, it might work better for some offline stuff?

Thanks for the reply and idea.

So the Template is a custom template I want to create. SO I would have to copy all the source over to my online capable machine. OK can jump through the hoops im used to it.

I have already done that and have created the custom template on my online machine.

Went to C:\Users\%USERNAME%\AppData\Roaming\UnityHub\Templates and all thats there is a empty manifest.json

So I went to hub and used the … on the template to open file location and went down a level to grab the tgz there instead.

Pulled that over and now getting error

Checking for update
Error: Error: net::ERR_INTERNET_DISCONNECTED
at SimpleURLLoaderWrapper, (node:Electron/js2c/browser_init:2:49386)
…

3.5.0 threw the above errror.

and the latest throws a socket error.

yeah not sure how to run that through hub, but try creating project manually in commandline:
for example this way (first need to have those folders generated!)

md "D:/Unity/Test123/"
md ""D:/Unity/Test123/Assets/"
"X:\Program Files\6000_3\Editor\Unity.exe"  -createproject "D:/Unity/Test123"  -cloneFromTemplate "C:\Users\asdf\AppData\Roaming\UnityHub\Templates\com.unity.template.urp-blank-17.1.0.tgz"