Search Unity

playmode crash without any info, when there is no access to the internet.

Discussion in 'Editor & General Support' started by Packyan, Nov 19, 2019.

  1. Packyan

    Packyan

    Joined:
    Dec 12, 2017
    Posts:
    2
    when I pressd the play button, once there is no internet, the editor would crash, and no error window shows. I go to the log folder to find the editor log, and the last line is :
    * Assertion at ..\mono\metadata\threads.c:1788, condition `internal` not met.
    I tried to reinstall the unity3d 2019 2.11f,and useless. I created a new project, and still crash when there is no internet.

    and if build the project, the exe file is working fine.
     
  2. assaf_hershko

    assaf_hershko

    Joined:
    May 20, 2017
    Posts:
    5
    I have the same issue. In conversations with the Unity QA team, will let you know what they say... :)
     
  3. DatabaseError

    DatabaseError

    Joined:
    Jan 18, 2018
    Posts:
    1
    Last edited: Nov 20, 2019
  4. Patrick_D

    Patrick_D

    Joined:
    Nov 8, 2019
    Posts:
    1
    Are there any news regarding this issue? Unity keeps crashing on me...
     
  5. KeirMeikle

    KeirMeikle

    Joined:
    Oct 16, 2012
    Posts:
    4
    I see this too in Unity 2019.2.12 on Windows. Has anyone posted an official bug report?
     
  6. Packyan

    Packyan

    Joined:
    Dec 12, 2017
    Posts:
    2
    No, still crash when no Internet.
     
  7. assaf_hershko

    assaf_hershko

    Joined:
    May 20, 2017
    Posts:
    5
    Just a quick note to say that the Unity support team got in touch with me today to say that:
    "I have forwarded the issue to the developers responsible for this area and I will let you know any findings as soon as possible".

    I'll post back here once I hear back from them.
     
    Packyan and Veenomous like this.
  8. assaf_hershko

    assaf_hershko

    Joined:
    May 20, 2017
    Posts:
    5
    Quickly updating that I heard back from Unity, and they say the issue should be fixed in the next release of the 2019.2 stream.
     
    Veenomous likes this.
  9. DaveKap

    DaveKap

    Joined:
    Mar 6, 2013
    Posts:
    7
    I just got this issue today and it's been a wild ride trying to get to the bottom of it. I think it's occurring from a Resources.LoadAll call because I managed to trip across a line that, if commented out, gets the play function to work but the game comes up paused so it's not 100% good. Plus... I sorta heavily rely on that loadall call so I can't think of a workaround yet.

    You mention that not having internet is the cause, but I am connected to the internet. However, I saw this error earlier today before the play-button crashes began:

    error:00000000:lib(0):func(0):reason(0)Curl error 35: Handshake did not perform verification. UnityTls error code: 7

    I wonder if anyone else has that with this crash.
     
  10. Veenomous

    Veenomous

    Joined:
    Dec 3, 2019
    Posts:
    3
    Yup, just had this happen today. I get:

    error:00000000:lib(0):func(0):reason(0)Curl error 35: Handshake did not perform verification. UnityTls error code: 7

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

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


    I'm not using Resources.LoadAll, but I am using Resources.Load in various places (and I'm connected to the Internet) so it could be similar. The weird thing is everything was working fine last night, and then without making any changes it started crashing today.

    I tried a complete clean install of Unity (deleted every version I had, preferences, the Hub, etc.) and tried on both 2019.2.12 and 2019.2.14 but still got the error. Hoping it really does get fixed with the next release.
     
  11. DaveKap

    DaveKap

    Joined:
    Mar 6, 2013
    Posts:
    7
    Same here. Worked fine last night. Zero changes made. Run Unity this morning and this S*** starts happening. I've actually had Unity run by commenting out the Resource Load calls, then uncommenting them, which is just... really stupidly broken... the issue then occurs in a coroutine call which causes the crash... then the crash keeps happening after commenting THAT call out while ALSO commenting out the resource load calls. It's freaking WILD how broken Unity got today!

    My project works fine on another computer. I'm too scared to completely clean Unity off considering this should be fixed in the next release.

    How often does Unity release because I need this work done by uhhh next week and I'd very much like to not have to develop on my second machine.
     
  12. Veenomous

    Veenomous

    Joined:
    Dec 3, 2019
    Posts:
    3
    Looking at the release dates, usually within a week or two (and it's already been like 6 days since the last one so possibly very soon).
     
  13. mahrizh

    mahrizh

    Joined:
    Jun 7, 2015
    Posts:
    3
    Same issue. First I get crash when was offline, now it crashes every time even with Internet connection.
     
  14. wicea

    wicea

    Joined:
    Jan 23, 2016
    Posts:
    6
    Same issue. Tested offline start with Unity 2019.2.12f1.

    Also detected problems with UnityWebRequest timeout property and Abort - https://forum.unity.com/threads/iap-crashes-unity-with-unitytls-error-code-7-in.787847/#post-5244035
     
    Veenomous likes this.
  15. Veenomous

    Veenomous

    Joined:
    Dec 3, 2019
    Posts:
    3
    From the thread linked to by wicea:

    Editor is now playing for me!
     
  16. assaf_hershko

    assaf_hershko

    Joined:
    May 20, 2017
    Posts:
    5
    To those interested in an update on the original issue (editor crashing when there's no internet connectivity), the latest from the Unity support team is that they expect it fixed in 2019.2.16f1.
     
  17. nhanc18

    nhanc18

    Joined:
    Jul 29, 2019
    Posts:
    3
    Me too. I'm using PlayFab API and Unity will crash if no internet connection. I expected Unity to throw an exception but it crashed.