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

Is there a Closing Editor Change between beta 9 and beta 10?

Discussion in '2018.2 Beta' started by Percy-Pea, Jun 27, 2018.

  1. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Hi there, We use Jenkins to use Unity to build a series of asset bundles and have spotted an error is thrown when attempting to close the beta 10 editor, which isn't thrown with beta 9 (or any previous beta and release versions).

    Has something change with beta 10, didn't spot anything in release notes?

    We get this right at the end of our asset bundle build log :-
    Cleanup mono
    GetBool is not allowed to be called while application is terminating.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Scripting/ScriptingThreadAndSerializationSafeCheck.cpp Line: 85)
     
  2. charlesb_rm

    charlesb_rm

    Joined:
    Jan 18, 2017
    Posts:
    485
    Hello Percy-Pea, yes there were some changes that were made in the cleanup when quitting Unity to avoid some weird crashes that were happening. Can you open a bug with the reproduction steps so our team can look into it?
    I will also check why it was not in the release notes for b10.
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,619
  4. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Ah, actually my bad, I think it will be this fix in release notes which has caused the issue :-
    • Editor: Fix issue with editor exit code not being 1 when invoking editor in batch mode and there are compile errors in the project (999773)


      I will try and see if I can make some easy steps to replicate, so I can submit a bug. Sadly I won't have much time to do so any time soon.

     
  5. Percy-Pea

    Percy-Pea

    Joined:
    Aug 31, 2014
    Posts:
    75
    Actually, super easy to replicate. Will report bug.

    Simply Open up Unity 2018.2 b10. in OSX
    Open the Editor Log from console panel
    Clear everything in log to make it easy.
    Go to File > Quit in Unity
    And watch :-
    GetBool is not allowed to be called while application is terminating.

    (Filename: /Users/builduser/buildslave/unity/build/Runtime/Scripting/ScriptingThreadAndSerializationSafeCheck.cpp Line: 85)


    Unhandled Exception: UnityEngine.UnityException: GetBool is not allowed to be called while application is terminating.
    at <0x00000> <unknown method>
    at <0x00000> <unknown method>
    at <0x00000> <unknown method>
    at <0x00000> <unknown method>
    at <0x00000> <unknown method>