Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

No internet environment - resolving packages hangs

Discussion in 'Package Manager' started by miniduck, Aug 21, 2018.

  1. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Hello,

    I am aware there is another "resolving packages" thread but we are running Unity in an environment without internet.

    When Unity starts up it hangs on "resolving packages" for 4 min then it starts up.
    When the editor is up and running the package manager displays fine.
    (throws an error now and then Cannot perform upm operation: connect ETIMEDOUT 75.126.208.206:443 [NotFound])

    from the log during start up
    (Tested the url in Chrome and it was fast to respond)

    upm.log from the same session
    Thank you
     
  2. okcompute_unity

    okcompute_unity

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

    What version of Unity are you using?

    Regards,

    Pascal
     
  3. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    I knew I forgot something...
    This is 2018.2.4f1 on Linux, let me know if you need to me to test any other version
     
  4. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756
    Can you try 2018.2.5f1? Do you also have the same problem when you shutdown your wifi connection or unplug your internet cable?
     
  5. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Same with 2018.2.5f1 - I will try 2.6 as well
    This is on a machine in a company network. Wifi is not available and unplugging network is not an option.
    There is no internet provided
     
  6. okcompute_unity

    okcompute_unity

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

    I'll ask my QA to try to replicate your setup (Linux + closed network with 2018.2.5f1).

    Regards,

    Pascal
     
  7. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Many thanks, let me know if you need any more detailed info about our setup
    (same in 2018.2.6f1)
     
  8. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Same in 2018.3.0b2 - package manager 2.0.1
     
  9. pedro_unity

    pedro_unity

    Joined:
    Jan 16, 2017
    Posts:
    172
    Hello @miniduck,

    I apologize for the situation you've been experiencing. We are examining ways to unblock users that have similar problems as we speak.

    Meanwhile, I have tried to reproduce the issue to no avail. I tried it with a closed network (basically a router disconnected from the internet), no network and restricted to the point of failure (99% packet loss for example). In all cases, Unity ended up booting up correctly. This lead us to question the parity between my closed network settings and yours.

    In re-reading your comments, we noticed that you have partial access to the internet as your DNS is resolving package.unity3d.com's distant registry IP address, but once information is requested of this address (75.126.208.206:443), no response is forthcoming, hence the ETIMEDOUT error.

    Would you mind trying a workaround for me?
    • Disconnect from the wi-fi (or if you're wired, disconnect the network cable). Attempt to boot Unity. Let me know if that works. I know you said it wasn't an option, but it will disprove other potential issues.
    If successful, there are two choices:
    • Whitelist package manager distant registry with your IT org/firewall rules.
    • Revert to a pure closed network.
    Please confirm as well that this Package Manager global cache location exists and is populated.
    • $home/.config/Unity3d/cache
    Thank you very much for your help and please let me know if you have questions,

    Cheers,
    Pedro.
     
    Deleted User likes this.
  10. miniduck

    miniduck

    Joined:
    Sep 27, 2012
    Posts:
    117
    Happy to say this is now fixed in 2018.3.0b12!
     
    pedro_unity likes this.
  11. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756
    Super happy to read this! :)
     
  12. tomglenn

    tomglenn

    Joined:
    Aug 3, 2015
    Posts:
    28
    upload_2018-12-4_8-40-2.png

    Having the same issues in 2018.2.17f1 and 2018.2.18f1.
    Going to give 2018.3.0b12 a shot and will report back
     
  13. tomglenn

    tomglenn

    Joined:
    Aug 3, 2015
    Posts:
    28
    Update: I can confirm that upgrading to 2018.3.0b12 fixed this issue. Projects now open a lot faster.
     
  14. okcompute_unity

    okcompute_unity

    Joined:
    Jan 16, 2017
    Posts:
    756