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

CRASHES Unity with: Curl error 56: Receiving data failed with unitytls error code 1048578

Discussion in 'Editor & General Support' started by pashok77007, Dec 16, 2019.

  1. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    Hello, I am using unity 2019.3.0f3 in Windows 10.
    I dabbled in build size to create an instant app.
    I disabled unnecessary package.
    But then in the heat of work, apparently something happened :)
    An error started to appear

    Curl error 56: Receiving data failed with unitytls error code 1048578
    I thought that this minor error came out after removing the next package, but then
    This error began to appear every 15 minutes)
    And then sometimes when you press PLAY, the unit closes without an error message - completely.

    I created an empty project but even there this error works as well.
    I reinstalled Unity completely with deleting all the remaining files 3 times :), but that didn't help either.
    I installed Unity on another computer there the same problem. Then I got scared)
    I did not find anything about this error in Google.
    And in general, what is unitytls responsible for? Thanks.
    Sorry for my English!
    Screenshot_1.png
    P.S. https://play.google.com/store/apps/details?id=com.polygon.BattleSimulator
     
    Last edited: Jan 30, 2020
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Does this happen on a new/empty project? Please provide steps to reproduce, starting with a new project.
     
  3. talofen

    talofen

    Joined:
    Jan 1, 2019
    Posts:
    40
    Upgraded project to 2019.3.0f1, same error
     
    sandippandey3, YYfim and ijidau like this.
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Do you know what is causing it? I suspect you added an asset, and you begin to see the error? Please provide specific steps (for someone else) to reproduce, starting with a new project. I just did the same, and don't see the error in a new project.
     
  5. talofen

    talofen

    Joined:
    Jan 1, 2019
    Posts:
    40
    I did not add assets. I have a fairly big and complex project, and simply updated from 2019.2 to 2019.3.0f1.
    Since then, I get the error.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We would need more information to troubleshoot. As requested, does it happen on a new/empty project? Start there. Otherwise, either revert to the previous Unity version, or start with a new project and add your core assets one at a time to find the culprit.
     
  7. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    By the way, I also in the process of updating the project only from Unity 2019.3.0b8 to Unity 2019.3.0f3
    Perhaps this is precisely what influenced the creation of this error. But now I have this error both in Unity version 2020.1.0a16 (Alpha) and in version 2019.2.16f1 (Screenshot)
    How is this possible?
    Screenshot_9.png
     
  8. iamtagir

    iamtagir

    Joined:
    Mar 9, 2015
    Posts:
    10
    Same problem =(
    Started after update to 2019.3 and also appears Unity3d 2019.2.16 .
    Usaly Unity3d closes down when void OnTriggerEnter2d() is executed in script.
    At 2019.2.11f all ok
     
    Last edited: Dec 17, 2019
  9. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,722
    Do you have stop on error enabled? There is a known bug about it crashing Unity in certain situations.
     
  10. iamtagir

    iamtagir

    Joined:
    Mar 9, 2015
    Posts:
    10
    No.
    Now I just use 2019.2.11f.
     
  11. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    Usually this error occurs every 15 minutes. Without PLAY mode.
    If you press PLAY, then usually everything is fine, but apparently when the error coincides, the editor closes completely without saving and without asking to describe the error.
    In addition to 2019.3.0f3, I also used 2019.2.16f1.
    Maybe it's worth downloading 2019.2.11f. and check there?
    Download it to check ...
     
    Propagant likes this.
  12. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please, can you confirm if the problem occurs on a NEW/EMPTY project and not upgraded from a previous version?
     
  13. danroby

    danroby

    Joined:
    Jan 16, 2013
    Posts:
    2
    I have the same error after upgrading from Unity 2018.4.12f1
    I do not press the play button but I always get the error after project has been loaded:
    "Curl error 56: Receiving data failed with unitytls error code 1048578"
     
  14. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  15. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    I downloaded!)) Sorry to take so long!
    Uhhu, after creating a new empty project on Unity 2019.2.11f1 there is no error.
    Trying to run my project, compatibility errors with my packages.
    After removing packages that are incompatible with Unity 2019.2.11f1
    One last error in the code remains. She was not at the opening in the new version of Unity (Screenshot)
    1.png
    0.png
    I declare an empty private string "appID" - SAVE
    2.png
    The endless download of the Facebook DLL begins.
    I close the project - I open again in version 2019.2.11f1
    3.png
    This happens endlessly.

    It looks like I have a few problems ...?
     
    Last edited: Dec 18, 2019
  16. Masea1

    Masea1

    Joined:
    Jun 9, 2018
    Posts:
    41
    This also happens to me at random times, really not sure what's causing it. I haven't undergone any crashes so far though.
     
    YiHan-GI likes this.
  17. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,722
    I already mentioned this, but check you console if "Error Pause" is selected. Unselecting it might help.
     
  18. Masea1

    Masea1

    Joined:
    Jun 9, 2018
    Posts:
    41
    I have it disabled already. You mean it would have been fixed or just not to get paused every time the error occurs?
     
  19. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,722
    To me it used to cause a crash whenever error was printed from UWR.
     
  20. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    I also have it disabled, this can be seen in the screenshots in previous posts.

    Yes, the problem occurs in an empty project in 2019.3.0f3 and in 2019.2.16f1
    Only in version 2019.2.11f1 there is no error in an empty project.
    Now I can not provide proof screenshots, I can in a couple of days ... Maybe sooner.
    Just believe that it’s true.
    So what else can I do to still remove this error and work in Unity 2019.3.0f3?
     
  21. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,722
    Wait, wait. What is the problem? Crash or error in console?
    Disabling pause might help with crash, but certainly won't stop error from appearing.
     
    YiHan-GI likes this.
  22. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    This is my first strange error. That is, if Crash is not there, is everything normal? Can I build with this error? I was afraid that this could affect the users of the application ...
    Sorry for my English. Perhaps I did not understand you.
     
  23. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    A "crash" is when your Editor stops working and exits by itself. An "error" is typically a red line in the Console but allows you to keep working. I doubt it would affect users and my guess is an Editor-only issue, but we need to see a Charles capture or similar first. And we don't need screenshots because we don't believe you, we just want to see what you are seeing to help us troubleshoot the issue. In the other thread I mentioned, a user is trying to get Charles working
     
    pashok77007 likes this.
  24. gferrari

    gferrari

    Joined:
    Jan 14, 2015
    Posts:
    135
    I have the same issue, that is my Editor Log. The Editor crash when I press Play

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

    Curl error 56: Receiving data failed with unitytls error code 1048578

    (Filename: C:\buildslave\unity\build\Modules/UnityWebRequest/Implementations/TransportCurl.cpp Line: 805)

    * Assertion at ..\mono\metadata\threads.c:1788, condition `internal' not met


    Unity 2019.3 and 2019.2.16
     
  25. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    Yes. Thanks for the detailed explanation). I also follow that user. :)
     
  26. leopedroso45

    leopedroso45

    Joined:
    Jul 2, 2016
    Posts:
    2
  27. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  28. KaiShaine

    KaiShaine

    Joined:
    Dec 31, 2019
    Posts:
    3
    Assets store loading is endless
    Curl error 56: Receiving data failed with unity error code 1048578 Screenshot (51).png
     
  29. better_walk_away

    better_walk_away

    Joined:
    Jul 12, 2016
    Posts:
    291
    I have just upgrade Unity to 2019.2.17f1, and I got the same exact random error "Curl error 56: Receiving data failed with unitytls error code 1048578". This error seems harmless to me though.
     
  30. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
  31. h_magnou

    h_magnou

    Joined:
    Jan 6, 2020
    Posts:
    1
    Just for information, I am having the same problem. it started on the tutorial of the fps, just after adding the LevelEnd.
     
  32. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We have been able to reproduce and hopefully get a fix in an upcoming release. The other thread on the topic has more information.
     
    anmol07goyal, kerjemanov and soleron like this.
  33. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    568
    yeah suddenly I also got this. in a project that it was not until recently. 2019.3.0f3


    glad to hear it is to be fixed although I have no idea what it does.
     
  34. patrykszylindev

    patrykszylindev

    Joined:
    Oct 28, 2019
    Posts:
    23
    I've got this error as well.

    I have new project. Added few packages. Everything was fine.

    I've put my PC to sleep for an hour. I come back and I begin to have this error.

    Does anyone know the fix?
     
  35. pashok77007

    pashok77007

    Joined:
    Oct 30, 2015
    Posts:
    15
    Disable the function (button) "Error Pause"
    Unity will stop crashing.
    But the error will still appear endlessly :)
     
  36. AramBolorox

    AramBolorox

    Joined:
    Dec 19, 2018
    Posts:
    2
    hi, when i upgrade my project from 2019.2.12 to newer version it gives me the error, i waited for 2019.2.18 update to upgrade my project and yet its still happening in 2019.2.18. i have no choice but remain in 2019.1.12 update. maybe forever :(
     
  37. AramBolorox

    AramBolorox

    Joined:
    Dec 19, 2018
    Posts:
    2
    I need "pro version of unity" to disable the analytics that's might be causing the problem
     

    Attached Files:

    soleron likes this.
  38. dabitnk10

    dabitnk10

    Joined:
    Jan 18, 2020
    Posts:
    2
    Hello! I have fixed this error: "Receiving data failed with unity tls error code 1048578"

    I use the 2019.2.17f1 Personal version

    I have worked with a project for a few days. Now, I wanted to export to WebGL, but before, I touched the viewer Shading Mode. I have changed it from SHADED (which comes by default), to RENDER PATHS. Well, after this change, Unity returned the error message.

    I have put it back into SHADED, and the problem has disappeared.

    I hope someone helps.
     
    nicoferraro, Makalidi and AllanRW like this.
  39. TrainsMan

    TrainsMan

    Joined:
    Jan 19, 2020
    Posts:
    1
    I think you need to delete the files you just added to make the error dissapear,

    That is just my opinnion to solve the error, but it dissaper on my pc
     
  40. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    568

    Probably, but we have no idea which did it. :D And what if we can't remove the package because we need it? (i.e. it is a prerequisite package).
     
  41. Deleted User

    Deleted User

    Guest

    i am also having this error in my project but it is coming on some lines when i comment those lines my project run smoothly but i have unfinished work in my project that i am trying to finish..... because i cann't provide while code so i am just giving the ref. image of code in little form
    and in these script i am writing the important part of code rest is unnessary code that matters here
    so

    script 1 : Abc
    public static Abc position1;
    void Awake()
    {
    position1 = this;
    }

    and
    script 2: BCD
    public static BCD position2;
    void Awake()
    {
    position2= this;
    }

    and in another script because i can access script 1 and 2
    so
    in 3 script at some point i am doing this
    //if(Abc.positon1.player_pieces[0].transform.position == BCD.position1.player_pieces[0].transform.position)
    //{
    Doing something here
    //}


    for me this error is comming on above if(comparision) logicall it looks to me good but i don't know what the hell is wrong with this statment because i am using the same type let say this
    Abc.positon1.player_pieces[0].transform.position
    another line in another script but as single statment not as comparision this is working but i dont know what the hell is wrong
     
  42. jiteshGD

    jiteshGD

    Joined:
    Jan 26, 2020
    Posts:
    16
    same error is appearing on my unity version 2019.3.0f6
     
  43. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    It does no harm in my behalf, but this error is there from the beginning of 2019.3 alpha to final version. Why you guys not fixing it?
     
  44. Chris_Brech

    Chris_Brech

    Joined:
    Jan 10, 2020
    Posts:
    3
    Greetings.

    First, as a student, thank you to the Unity team. Unity is a joy to learn and experience.

    I have recently downloaded and installed 2019.3.0f6, used it a couple of times, but most of my projects are still in 2019.2.17f1. Since installing the newer version, I see the Curl error 56 mentioned in this thread pop up in my 2.17f1 projects.

    I have not experienced any problems because of this error. Having only a Personal license, I can not test disabling analytics. I just thought the error was strange and decided to look it up.

    This issue raises two questions for me:

    1. How can I be sure that these analytics are anonymous? My school and provincial government have strict rules against any breach of a student's privacy.

    2. Was 2019.3.0f6 a beta version? How can I make sure I am only informed of updates when there is a major version / stable master release?

    Thank you
     
  45. Phenotype

    Phenotype

    Joined:
    Oct 26, 2010
    Posts:
    53
    get this as well. No crash or adverse effects that I can see: 2019.3, new UIElement system.
     
  46. lord_benry

    lord_benry

    Joined:
    Jul 6, 2018
    Posts:
    1
    I got this error when I put a box collider onto a quad.:confused:
    When I delete the quad the error stops.
     
  47. AllanRW

    AllanRW

    Joined:
    Nov 6, 2014
    Posts:
    37
    This solve the issue for me! Thank you!

     
  48. aichayaser2015

    aichayaser2015

    Joined:
    Feb 6, 2020
    Posts:
    2
    Curl error 56: Receiving data failed with unitytls error code 1048578
    helpe me
     
  49. Sab_Rango

    Sab_Rango

    Joined:
    Aug 30, 2019
    Posts:
    121
    I fix it.
    Fist I found that this ''error 56'' belongs to internet proxy(google it code 56 error)
    I deleted all external internet proxy that recently I've installed from settings>apps
    yeah this might 2 main reason 1. installed proxy 2. new version of windows
     
    QuincyC likes this.
  50. Sab_Rango

    Sab_Rango

    Joined:
    Aug 30, 2019
    Posts:
    121
    This "code error is definitely Internet error " Now I am pretty sure!
    Since after curl 'error 56' occurred in my Unity editor, I can't access my local WiFi router page. But internet is still working! . This means the error coming exactly from Internet proxy.

    1. Now I'll try to do smth in windows proxy setting to solve it