Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Cannot run 2018.2 beta due to no internet

Discussion in '2018.2 Beta' started by MarcoGiordanoMPC2, Apr 30, 2018.

  1. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    Good morning, as per title, we are finding impossible to test the new beta, unity has never been too friendly without internet connection.
    2017.3 sometimes would just shutdown at picking up the project when internet was not present. We worked around that by running from commandline with project argument
    2018.1 betas worked a bit better, the resolving package dialog would get stuck for a while but then Unity would start

    2018.2 gets stuck on resolving packages and after a while says that was not possible to contact the server and gives two options, retry (which restarts unity and same issue) or quit right away.

    Unluckily due to reasons we do not have direct internet access and unity cannot contact the server, this makes for us impossible to test the new beta, is there anything that can be done about it?
     
  2. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    I tested this and I could open my existing 2018.2 scenes without internet. I'm guessing you are trying to create new project or add packages that don't exist on your computer? You'd need internet connection to download new packages..
     
  3. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    Indeed I am not opening a previous scene but creating a default 3d project, not a SRP one that requires packages.
     
  4. charlesb_rm

    charlesb_rm

    Joined:
    Jan 18, 2017
    Posts:
    485
  5. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @MarcoGiordanoMPC2 ,

    I have tried to reproduce your issue and I couldn't using Unity 2018.2.0b2. I flushed my packages global cache (~/Library/cache) and tried to create new project from every possible available templates. Every one of them opened without a problem while I was offline.

    Can you share your editor log files please (https://docs.unity3d.com/Manual/LogFiles.html)?

    Regards,

    Pascal
     
  6. Deeeds

    Deeeds

    Joined:
    Mar 15, 2018
    Posts:
    739
    If downloading Unity on one computer, to put on an airgapped computer that never accesses the internet, can Unity be used? My previous efforts to get this to work, on a Windows Workstation that never accesses the internet, have failed.
     
  7. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    @okcompute_unity I was on 2018.0b1, I can try 0b2. What I did was, download the editor installer, not using an online installer, and try to create a new project. I will try with 0b2 and get back to you.
     
  8. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    @okcompute_unity I was already running 0b2. Now the package manager is timing out. The problem probably is that, there is an internet connection available, but cannot contact unity servers due to firewalls. So that might be the difference compared to not having internet at all.
     
    charlesb_rm likes this.
  9. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    Also to confirm doesnt work in opening projects created with older unitys
     
  10. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
  11. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    My upm.log
    Editor.log
     
  12. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    @miniduck Are you behind a firewall too?
     
  13. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Company network without internet access
    No firewall and http_proxy vars are unset
     
  14. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    @miniduck I found the root cause of the bug. I'll aim to push a fix in the next beta. Thank you for your help. The log you provided oriented me in the right direction.
     
    d1favero, LeonhardP and charlesb_rm like this.
  15. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Great to hear, looking forward to test it
     
  16. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    This now works for me
    Many thanks

    It would be nice if there was a flag to disable package manager, waiting for the timeout takes a while
     
  17. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Package Manager can be disabled if you pass
    noUpm
    as parameter when launching the executable. See https://docs.unity3d.com/Manual/CommandLineArguments.html.

    But i'm curious. What do you mean by waiting for the timeout? You shouldn't have a timeout anymore with the fix.

    Regards,

    Pascal
     
  18. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    It's hanging on "Resolving packages..."
    edit: I do get the pop up that package manager fails to start, but at least now it has a continue button
    Exactly 2 min:
    Thanks, I tried noUpm and it works well
     
  19. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    my upm.log only contains
     
  20. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Can you try to set
    UNITY_NOPROXY
    to
    127.0.0.1,localhost
    ?

    Or simply remove the environment variable setting altogether (We default the value to
    127.0.0.1,localhost
    ).

    Your actual value (
    localhost
    ) will make a connection to
    127.0.0.1
    go through your proxy. This is why you have a timeout.

    Pascal
     
  21. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Tried unset but same behaviour, now 4 min wait
     
  22. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
  23. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    This is linux (centos) company network with no internet or proxy

    Tested 2018.1.2f1 and 2018.2.0b5
     
  24. MarcoGiordanoMPC2

    MarcoGiordanoMPC2

    Joined:
    Jan 19, 2018
    Posts:
    43
    I have tested with 2018.2.0b6 and seems to work with our proxy/firewall.
     
  25. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
  26. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Also tested 2018.2.0b7 and 2018.1.3f1
     
  27. Finer_Games

    Finer_Games

    Joined:
    Nov 21, 2014
    Posts:
    33
    May/may not be related, but I was unable to get 2018.2.0b9 and 2018.2.0b10 working as the Package Manager couldn't resolve certain dependencies due to connection timeouts. I'm working in China and was finally able to fix this by tunneling all application traffic through my VPN -- are some of these packages hosted on servers that are blocked by the GFW?
     
  28. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Thank you @Finer_Games for sharing this info! Providing a reliable backend service in China is really a big challenge. I was told the experience may vary greatly from one provider to another. Can you share which provider you are using and maybe your location? I'll ask the backend team to take a look. You can send me the info privately.

    Regards,

    Pascal
     
    Last edited: Jul 4, 2018
  29. Finer_Games

    Finer_Games

    Joined:
    Nov 21, 2014
    Posts:
    33
    Sure, no worries and happy to help -- while there are occasional issues doing certain things where Unity is phoning home, this is something that affects most all foreign companies, and your services are generally some of the fastest/most reliable in the entire mainland. Will continue via PM!