Search Unity

Failed to start Unity Package Manager

Discussion in 'Package Manager' started by iriguchi, Apr 19, 2018.

  1. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    1st: Install 2018.2.0b1
    2nd: Create New Project
    3rd: I got this screenshot.
    Unity Package Manager Error 2018_04_19 17_30_05.png
     
  2. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    I re-tried to open the project about five times.
    I got this dialog message few minuet later.
    Unity Package Manager Error 2018_04_19 17_51_37.png
    Continue it, Unity was opened but I got the message.
    This is same as 2018.1.0b13...
    Unity 2018.2.0b1 (64bit) _ 2018_04_19 18_05_55.png
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
    Hi Iriguchi,
    Could you please file a bug report for this issue and reply in here with the case #?
     
  4. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    540
    Hi @iriguchi ,

    Sorry to see you are still affected by this issue. I saw from your other post (https://forum.unity.com/threads/unity-package-manager-error.516168/#post-3446830) that 2017.3.f1 works for you but not 2018.1. And now 2018.2 too!

    This is really strange. Can I ask you to try with a later version of 2017.3 to see if the bug start showing up? (https://unity3d.com/unity/qa/patch-releases?version=2017.3)

    Seems that all the latest versions fails for you.

    The only hypothesis I could get out of this at this point is an anti-virus issue. But you are saying you have turned off the anti-virus and you still get the error right?

    Regards,

    Pascal
     
  5. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    Hi Pascal,

    I tested 2017.3.1p4 but Package Manager was crashed... case 1028247
    I think this crash is same as 2017.4.0f1 and 2017.4.1f1.
    An workaround "Run as administrator" has not effect.
    And I tried to turn off the ESET but I got same crash dialog.

    I tested another version of path release.

    2017.3.1p1 is OK!!
    2017.3.1p2 is OK!!
    2017.3.1p3 is NG!!


    Thanks,
    Hirokazu
     
    Last edited: Apr 20, 2018
  6. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    Hi LeonhardP

    I reported the problem.
    case 1028272

    Thanks,
    Hirokazu
     
    LeonhardP likes this.
  7. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    540
    Ok. So the bug has started to appear for you when we fixed all the issues for the others. This is strange. You are in a bizarro world :p

    The only thing left I can think of at the moment is that you may have overridden the `UNITY_NOPROXY` environment variable? Is the env var defined on your system? If so, what is the value? Can you try deleting the env var?

    Pascal
     
  8. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    Hi Pascal,

    There is no UNITY_NOPROXY environment.
    There are http_proxy and https_proxy environments for our proxy.

    BTY,

    I found that they have same problem.

    https://issuetracker.unity3d.com/is...ezes-on-starting-server-when-proxy-is-enabled
     
  9. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    540
    Ok. This removes the proxy issue option. Thanks.

    You stated that you have the problem with 2018.2.0b1. I believe we have a new log file in this version. Do you have a file named *upm.log* in the editor logs folder (https://docs.unity3d.com/Manual/LogFiles.html) ?

    If yes, can you share the content after there was a failure to start Unity 2018.2.0b1?

    Thank you!

    Pascal
     
  10. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    Hi Pascal,

    Here are the log file.

    Thanks,
    Hirokazu
     

    Attached Files:

    • log.zip
      File size:
      10.7 KB
      Views:
      129
    LeonhardP likes this.
  11. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    540
    Hi Hirokazu,

    Thank you for the log files. I believe I now have a better idea what could be causing issues on your end.

    This line from the *upm.log* file is the key point:


    {"message":"Error while fetching config from https://public-cdn.cloud.unity3d.com/config/production: tunneling socket could not be established, cause=write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\\ssl\\s23_clnt.c:797:\n","stack":"Error: Error while fetching config from https://public-cdn.cloud.unity3d.com/config/production: tunneling socket could not be established, cause=write EPROTO 101057795:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\\ssl\\s23_clnt.c:797:\n\n at downloadConfigFile (C:\\snapshot\\upm\\packages\\services-config\\index.js:0:0)\n at <anonymous>","level":"error","timestamp":"2018-04-24T01:15:21.713Z"}


    This is a proxy issue. Package Manager cannot reach the configuration service because you are behind a proxy.

    Can you try setting proxy env vars?

    export HTTP_PROXY="http://user:password@host:portnumber"
    export HTTPS_PROXY="http://user:password@host:portnumber"

    Replace user, password, host and portnumber with the ones of your proxy.

    I'll update the ticket with this new information. This will be really helpful to fix the problem.

    Regards,

    Pascal
     
    LeonhardP likes this.
  12. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @iriguchi,

    I'm very sorry you're running into all these issues while attempting to start Unity. We have attempted to reproduce the issue using the versions that have failed and were unfortunately unsuccessful. If I could ask more details from you, this could inch us closer to a potential cause and resolution.
    • Would you try starting Unity without a network connection and let me know if you are able to start Unity with your project?
      • If the step above fails, could you try to start a new project with the same conditions mentioned above and let me know if that works?
    • Would you please paste the following URL on your browser "https://public-cdn.cloud.unity3d.com/config/production" and let me know what the response is?


    Ultimately, please confirm the following for me:
    • Node is not blocked at the firewall level
    • No antivirus is running on your machine. If there is one active, it doesn't block Unity processes.
    • Under the location where your executable lies Path to your executable (in my case == C:\Program Files\Unity 2017.3.0a1) \Editor\Data\Resources\PackageManager\Editor please confirm that there are .tgz files in there like this: https://imgur.com/a/HHc2hXC


    Thank you so much for your help and please accept my sincere apologies for the issues you're running into.

    Pedro
    Unity STE
     
    Last edited: Apr 25, 2018
  13. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    28
    Hi Pascal and Pedro,

    I fixed this problem with your advice.
    Thank you for your support.

    I found the mistake HTTPS_PROXY environment setting.

    Like this.
    export HTTP_PROXY="http://host:portnumber"
    export HTTPS_PROXY="https://host:portnumber"

    I typo "https".
    I fixed it to "http", The Package Manager works fine.
    .
    I guess the package manager change the environment to use form HTTP_PROXY to HTTPS_PROXY
    at the version 2017.3.1p3.

    Thanks again.
    Hirokazu
     
  14. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thank you @iriguchi,

    We didn't notice the typo on our end either. I'm so glad the situation has resolved itself. I will investigate what happened on version 2017.3.1p3.

    And finally, Hirozaku, thank you for your patience as you worked with us in getting the problem addressed. It is thoroughly appreciated!

    Pedro
    STE
     
  15. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity
    I had the same problem with 2018.1 and one of your QA guys was able to reproduce the issue, I thought it was fixed.
    I'll look up the case.
     
  16. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thank you @xCyborg!

    Pedro
    Unity STE
     
  17. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity I'm still having the issue in 2018.1 RC1.
    Case number is 1000696.
    This is the QA message about reproduction:

    I tried all possible solutions I read, but still happens.
     
  18. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity I'm still having the issue in 2018.1 RC1.
    Case number is 1000696.
    This is the QA message about reproduction:

    I tried all possible solutions I read, but still happens.
     
  19. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    540
    @xCyborg,

    The case you have linked is closed and marked as *not reproducible*. Are you sure you are referring to the right issue?

    Regards,

    Pascal
     
  20. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
  21. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @xCyborg ,

    I would love to see if I can reproduce your setup in order to, ultimately, get this bad issue addressed for all the users running into it.

    I apologize in advance for potentially making you repeat any information previously posted on other threads, but could you possibly provide me an idea of what your setup/configs are:
    • OS
    • network settings
    • proxy
    • firewalls
    • environment variables
    • antivirus

    I've tried the exact steps shown here: https://issuetracker.unity3d.com/is...s-modules-when-an-internet-connection-is-slow

    I've also attempted other network tools (clumsy, Fiddler), as well as a closed network physical setup we have running here (basically various settings of a router not connected to the internet0 to no avail in any case.

    Thank you in advance for your help with this defect.

    Cheers,
    P
     
    Last edited: May 10, 2018
  22. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity That's identical to my issue.

    Here is my setup:
    -Windows 10 1709 64bit
    -private network, metered connection / wifi
    -no proxy or network related environment variables
    -unity editor allowed in inbound rules
    -antivirus is windows defender, I followed an advice and added an exclusion to upm-win.exe but didn't solve the issue.

    I hope this helps, also if you could contact the guy who reproduced it.
     
  23. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thanks @xCyborg,

    Thanks for being willing to help us sort this out:

    • If you're comfortable with starting Unity from command line, please do so by adding the argument "-enablePackageManagerTraces" (without the quotes after Unity.exe). So in my case, from the command line, this would look like this:



    • Please attempt to add a package once again or start Unity to provoke the error message. Let me know if that fails. If it fails, please send us the logs. The argument adds more information about the CURL requests done by upm.
    After this:

    • Would you please confirm you have write rights to the folder mentioned here C:\Users\tg\AppData\Local\Unity\cache\packages\packages.unity.com
    • Additionally, if you do have permissions to that folder, could you kindly delete the cache contained here: C:\Users\tg\AppData\Local\Unity\cache\packages\packages.unity.com
    Once this is done:

    • Would you please attempt to add a package once again or start Unity to provoke the error message once more. Let me know if it works.
    Thank you so much @xCyborg,

    Cheers,
    P
     
  24. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    LeonhardP likes this.
  25. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thanks @xCyborg ,

    I took a look at the logs, along with a couple of our engineers. The POST operation when you attempt to add is failing (you probably saw this yourself):

    2018-05-26T13:08:44Z [Package Manager] Request::Done -- [POST] [http://127.0.0.1:53200/packman/packages] (Id: 000000000B6F4920)
    Headers:
    Content-Type: application/json
    X-Editor-Path: C%3A%2FProgram%20Files%2FUnity%2FEditor%2FData%2FResources%2FPackageManager%2FEditor
    X-Project-Path: C%3A%2FUsers%2FHP%2FDocuments%2FUnity%20Projects%2F3CPO%2FPackages
    X-Unity-Version: 2018.1
    Response Code: 0
    Response:
    2018-05-26T13:08:44Z [Package Manager] Cannot connect to Unity Package Manager local server
    Cannot perform upm operation: Cannot connect to Unity Package Manager local server [Unknown]
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogError(Object)
    UnityEditor.PackageManager.UI.UpmBaseOperation:OnError(Error) (at C:\Users\HP\AppData\Local\Unity\cache\packages\packages.unity.com\com.unity.package-manager-ui@1.8.8\Editor\Sources\Services\Upm\UpmBaseOperation.cs:168)
    UnityEditor.PackageManager.UI.UpmBaseOperation:Progress() (at C:\Users\HP\AppData\Local\Unity\cache\packages\packages.unity.com\com.unity.package-manager-ui@1.8.8\Editor\Sources\Services\Upm\UpmBaseOperation.cs:152)
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at C:\buildslave\unity\build\Editor\Mono\EditorApplication.cs:183)


    We have some reports that point that this is caused by a proxy blocking the POST operation, especially since your GETs are functioning without a hitch.

    Unity Connect/other parts of Unity are also sporadically failing which also points towards this.

    5/26/2018 2:06:11 PM|Fatal|WebSocket.connect|System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it.

    at System.Net.Sockets.TcpClient..ctor (System.String hostname, System.Int32 port) [0x0006d] in <02438dbdf7944a1dbd1e6659c57b6168>:0
    at WebSocketSharp.WebSocket.setClientStream () [0x00066] in <6e54e4d675ae408e9064c25787e50820>:0
    at WebSocketSharp.WebSocket.doHandshake () [0x00001] in <6e54e4d675ae408e9064c25787e50820>:0
    at WebSocketSharp.WebSocket.connect () [0x00083] in <6e54e4d675ae408e9064c25787e50820>:0


    UnityConnectUserInfoRequest: Timed out while fetching user - please check your network connection
    Request timed out while processing request "https://core.cloud.unity3d.com/api/users/me", HTTP error code 0
    .[UnityConnect] Request timed out.
    UnityConnectOrganizationRequest: Timed out while fetching orgs - please check your network connection
    An error occurred while processing request "https://core.cloud.unity3d.com/api/orgs", HTTP error code 299
    .[UnityConnect] An error occurred.
    UnityConnectUserInfoRequest: Timed out while fetching user - please check your network connection
    Request timed out while processing request "https://core.cloud.unity3d.com/api/users/me", HTTP error code 0
    .[UnityConnect] Request timed out.
    UnityConnectOrganizationRequest: Timed out while fetching orgs - please check your network connection
    An error occurred while processing request "https://core.cloud.unity3d.com/api/orgs", HTTP error code 299
    .[UnityConnect] An error occurred.


    Are you positive you're not running a proxy that could be blocking/shaping traffic towards upm?

    Let me know - we will continue investigating,
    P.
     
  26. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity I double checked, there is no system proxy defined in Internet Options or Settings > Network & Internet > Proxy.
    I want to mention that traffic is not completely blocked from upm, it downloads fine before the timeout, and even after the timeout it continues to download the package in the background (checked Task Manager).
     
  27. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thanks @xCyborg

    Just to make sure, this happens on every version of Unity you tried (since 2018.1), on existing as well as new projects?

    I'll keep digging on my end. Thanks for the help!
    P
     
  28. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity Yes, I tried almost all betas, existing and new projects alike, same behavior.
     
  29. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    You are, to the best of my knowledge, the only user to whom this problem persists despite cache clearing and is not subject to a proxy, firewall or rights issues.

    We are having a talk internally in a few hours to discuss how we get more diagnostics/next steps in to be able to find exactly what your problem might be.

    Thank you very VERY much for your patience, @xCyborg, stay tuned!
    P
     
  30. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    We haven't forgotten you. We're working on some diagnostics and will make sure to loop you in as quickly as possible.

    Cheers,
    P
     
    Peter77 and xCyborg like this.
  31. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @xCyborg,

    If you have the time, we're going to try a POST directly through the means of a html file (attached below) and Unity Package Manager running (but not Unity).

    By command line:
    • Locate your Unity executable path.
    • Navigate to 'data/resources/packagemanager/server' and start the Windows executable named 'UnityPackageManager'.
    • Unzip the attached html file named 'test.html.zip'
    • Double click it and a browser window should appear. Click the submit button in the web view. Please ignore the wrappings :)
    the response should NOT be :

    Code (JavaScript):
    1. This site can’t be reached
    2. localhost unexpectedly closed the connection.
    3. Try:
    4.  
    5. Checking the connection
    6. Checking the proxy and the firewall
    7. Running Network Diagnostics
    8. ERR_CONNECTION_CLOSED
    The response should be:

    Code (JavaScript):
    1. {"message":"Invalid content type (application/x-www-form-urlencoded).  These are valid: application/json"}
    Thanks for your patience, let me know.

    Cheers,
    P
     

    Attached Files:

  32. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity There is no UnityPackageManager executable in the specified directory, so I ran upm-win instead from the command line.
    After clicking submit in the test web view, the response is indeed:
    Code (JavaScript):
    1. {"message":"Invalid content type (application/x-www-form-urlencoded).  These are valid: application/json"}
     
  33. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @xCyborg,

    I sincerely appreciate your patience in helping us deal with this pesky issue.

    With the previous simple test we proved that you're capable of connecting to upm-win.exe localhost port 10010. I would like to eliminate two other factors if you have the time.
    • You can also connect to 127.0.0.1 (which is the IP we use for local upm transactions)
    • You can use higher ports (Packman tends to use ports above 50 000).
    To do so I would kindly ask you to restart upm-win.exe (Unity Package Manager server) through command line using the command:
    • upm-win.exe -p 53200
    And unzip, click and use the submit button on the attached file test2.html.zip which will connect to 127.0.0.1 port 53200 and attempt to do a POST operation.
    • Please click on the submit on the web page that will open after double-clicking on the unzipped test2.html file.
    Once more, thank you very much for your help.
    Cheers,
    P
     

    Attached Files:

  34. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    @pedro_unity Once again, it connects just fine to
    http://127.0.0.1:53200/packman/packages


    Code (JavaScript):
    1. {"message":"Invalid content type (application/x-www-form-urlencoded).  These are valid: application/json"}
    I'm thinking more it's due to some unfortunate timeout rather than connection issues.
     
  35. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hi @xCyborg,

    It is unlikely but perhaps a timeout is at fault. We have disabled timeouts for this type of connection. The issue you're running into is not common place, therefore we have to approach it sequentially and attempt to remove variables one by one.

    You have been an incredibly good sport in helping us out and at the risk of having your patience grow thinner I would ask you two additional things:
    • Can you, in the package manager UI, remove (delete) a package? Does this operation work?
    • Would you send us the UPM logs (they're located here:
      C:\Users\username\AppData\Local\Unity\Editor\upm.log - next to the Editor logs)
    • More info: https://docs.unity3d.com/Manual/LogFiles.html
    Thank you very much!
    P
     
  36. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    Hi @pedro_unity,
    And thank you for following up on this.
    • Removing a package from the package manager UI works as expected, no events raised.
    • UPM logs are mostly empty, even after provoking the error by installing the new Post Process package.
    I enabled full stacktracing on errors, maybe we missed something:

    [Package Manager] Cannot connect to Unity Package Manager local server
    Cannot perform upm operation: Cannot connect to Unity Package Manager local server [Unknown]
    0x00000001414F00A9 (Unity) StackWalker::GetCurrentCallstack
    0x00000001414F66B6 (Unity) StackWalker::ShowCallstack
    0x000000014138F54B (Unity) GetStacktrace
    0x0000000140888ADC (Unity) DebugStringToFile
    0x0000000141F886A8 (Unity) DebugLogHandler_CUSTOM_Internal_Log
    0x0000000018D9F1D0 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object)
    0x0000000018D9EE33 (Mono JIT Code) [DebugLogHandler.cs:10] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    0x0000000018D9E765 (Mono JIT Code) [Logger.cs:48] UnityEngine.Logger:Log (UnityEngine.LogType,object)
    0x0000000018D9E4C9 (Mono JIT Code) [Debug.bindings.cs:117] UnityEngine.Debug:LogError (object)
    0x0000000018D9E113 (Mono JIT Code) [UpmBaseOperation.cs:170] UnityEditor.PackageManager.UI.UpmBaseOperation:OnError (UnityEditor.PackageManager.Error)
    0x0000000014C86C2B (Mono JIT Code) [UpmBaseOperation.cs:152] UnityEditor.PackageManager.UI.UpmBaseOperation:Progress ()
    0x0000000014C025E7 (Mono JIT Code) (wrapper delegate-invoke) <Module>:invoke_void ()
    0x0000000014C022ED (Mono JIT Code) [EditorApplication.cs:183] UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
    0x00000000376897B5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    0x00007FFB98F9A1AB (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
    0x00007FFB98F21A42 (mono-2.0-bdwgc) [object.c:2915] do_runtime_invoke
    0x00007FFB98F2AA2F (mono-2.0-bdwgc) [object.c:2962] mono_runtime_invoke
    0x0000000140BD4CF7 (Unity) CallStaticMonoMethod
    0x0000000140BD4A7E (Unity) CallStaticMonoMethod
    0x0000000141364783 (Unity) SceneTracker::Update
    0x00000001413C9678 (Unity) Application::TickTimer
    0x00000001415C42ED (Unity) MainMessageLoop
    0x00000001415C65DC (Unity) WinMain
    0x000000014271FDA7 (Unity) __scrt_common_main_seh
    0x00007FFBD2031FE4 (KERNEL32) BaseThreadInitThunk
    0x00007FFBD488EFB1 (ntdll) RtlUserThreadStart

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)


    Cheers,
     

    Attached Files:

  37. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Sorry for the delay @xCyborg,

    Looking at the logs now. Will get back to you as soon as possible.

    Cheers,
    P
     
  38. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    I forgot to mention: We have an updated version of Unity, probably out next week, 2018.1.0f2, that contains some fixes that will potentially address this issue. The build contains an updated upm executable.

    Meanwhile, would you be open for us to contact you directly and remote desktop to your machine?

    This might be the best way to obtain information on your particular condition.

    Cheers,
    P
     
  39. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    Hi @pedro_unity I installed Unity version 2018.1.4f1 on all the machines on my network but the same problem persists always.
    If you want you can hit me on TeamViewer for remote control.
     
  40. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Alright, let me set it up with the team and get a date / hour that works for you. I'll send you a private DM with yet more questions.

    Cheers,
    P
     
  41. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hi @xCyborg,

    I've just talked with the team and we think that we haven't exhausted all options and debugging might not give us the results we want to because the error is a HTTP code 0.

    • Have you tried 2018.2 release at all or only 2018.1?
    • You said at one point that all machines on your network have been updated. Are they all Windows machines? Does Unity exhibit the same behaviour on all?
    • Can you tell me what the response is when you visit this website:
    Thanks,
    P
     
  42. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    • I already tried 2018.2 beta, it's the same behaviour.
    • Yes, they're all Windows machines, they exhibit the same behaviour.
    • I already tried that site, it says "No proxyserver detected."
     
  43. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thanks,

    Would you be able to completely deactivate:
    • Windows Defender
    • Windows Firewall
    We suspect that one of these is the potential culprit.
    Cheers,
    P
     
  44. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    Disabled them both, same old error.
     

    Attached Files:

    • shot.jpg
      shot.jpg
      File size:
      788.4 KB
      Views:
      498
  45. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    We have an internal event next week, so expect belayed responses. Apologies in advance.
    More questions:
    • Do you have anything on the hosts file that could affect connectivity? Can you possibly share that with us?
    • Do you have access to another network, a guest or a network cafe?
    I'm still trying to eliminate all network possibilities. Thank you so much for your help!

    Cheers,
    P
     
  46. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,896
    I just wanted to say thank you to @pedro_unity for his determination to find the culprit of this issue and to @xCyborg for providing all the information. You guys rock!
     
    xCyborg, LeonhardP and pedro_unity like this.
  47. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Thank you @Peter77 for the encouragement! It pains us when there are obscure issues like these that stop folk like xCyborg from operating the software.

    Cheers,
    P
     
  48. xCyborg

    xCyborg

    Joined:
    Oct 4, 2010
    Posts:
    509
    Hi, sorry for the delay, I tried different networks but same behaviour always.

    Just a new error I guess:

    Cannot perform upm operation: Unable to add package [com.unity.cinemachine@2.2.0]:
    Access to manifest [C:\Users\HP\Documents\Unity Projects\3CPO\Packages\manifest.json] is denied [Unknown]
     
  49. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @xCyborg,

    Interesting, this seems to point to a rights issue. I was sure we had previously confirmed that you had write rights to the project folder. That [Unknown] error is troubling. I'm going to do some research with the team to understand under which circumstances that is passed from npm to Unity.

    Cheers,
    P
     
    Last edited: Jul 23, 2018
  50. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @xCyborg, everyone,

    We think we have finally identified the issue you're suffering from. When you add a package in the Package Manager UI, it first queries the local UPM server who acts as a bridge to the distant Unity registry in case the package is not found locally. There was a 2 minute timeout between the Editor and local UPM server that was blocking the "add" operation you were attempting.

    I'll let you know when/how this will be fixed and I'll inquire to see if we can send you an improved version of UPM to unblock you.

    Cheers,
    P