Search Issue Tracker

Fixed in 2018.3

Fixed in 2019.1

Votes

0

Found in

2018.3.0a4

2018.3.2f1

2019.1.0a1

2019.2.0a1

Issue ID

1119209

Regression

Yes

MissingReferenceException and broken GUI after enter/exit Play mode with Script Execution Order tab open

Scripting

-

How to reproduce:
1. Open the attached "Test.zip" project or create a new one
2. In the Menu bar, select "Edit/ Project Settings..."
3. In the Project Settings window, make sure that the "Script Execution Order" tab is selected
4. Enter the Play mode
5. Exit the Play mode
6. Observe the Console window

Expected result: The Console does not contain any errors and Project Settings window is not broken.
Actual result: There are multiple errors in the Console and GUI of the Script Execution Order tab is broken (it is empty, hovering the mouse over it produces even more errors).

Reproducible with - 2018.3.0a4, 2018.3.3f1, 2019.1.0a15, 2019.2.0a2
Not reproducible with - 2017.4.19f1, 2018.3.0a3

Note: The regression was introduced (in 2018.3.0a4) along with the new Project Settings window. (Prior to that, "Script Execution Order" would appear in the Inspector window.)

Errors thrown:
- "MissingReferenceException: The object of type 'MonoScript' has been destroyed but you are still trying to access it. <...>"
- "ArgumentException: GUILayout: Mismatched LayoutGroup.repaint <...>"
- "GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced. <...>"
- "Scope was not disposed! You should use the 'using' keyword or manually call Dispose. <...>"

  1. Response avatar

    Resolution Note (fix version 2018.3):

    Fixed in 2019.2.0a5
    Backported to 2018.3.7f1, 2019.1.0b3

Comments (12)

  1. 6118be2c040b97d6e370bac56514b1d1?d=mm

    afshinunity

    Sep 04, 2019 17:01

    i have the exact same 3 errors.
    using unity 2018.4.6 on windows 10
    target platform android.
    please fix it quickly, it prevents building sometimes.
    i delete the whole library and fresh restart to perform build. but i keep getting this error still.

  2. F16da68d05a03f540852ef15537f9e78?d=mm

    FredTuna

    Aug 20, 2019 23:03

    I get the exact same thing when making changes to Script Execution Order. Unity is unusable afterward as the GUI is completely broken. In Unity 2019.2.0.f1

  3. C582b39207d15a7341636d5966fcb252?d=mm

    ArcIo

    Aug 15, 2019 16:29

    I did a full reinstall of Unity, Shutdown the PC, Updated my Java and the issue persisted. Then, I went to another tab in project settings and changed from android to standalone. Then my player settings came back. I then switched back to android and I'm now no longer seeing the issue.

  4. C582b39207d15a7341636d5966fcb252?d=mm

    ArcIo

    Aug 15, 2019 15:00

    Unity 2019.2.0f1

    Everything was fine when I left the office yesterday. Came in this morning, opened Unity and this issue was suddenly here. I literally did nothing but start Unity. I have no idea how to resolve this issue but I'm getting:

    You are pushing more GUIClips than you are popping
    GUILayout: Mismatched LayoutGroup.repaint
    Failed to update Android SDK package list

    Again, everything was good when I left last night. Came in and this was happening.

  5. 20d7aeb388b320bed1c3ca83c1fc4530?d=mm

    chriscode

    Aug 07, 2019 12:41

    Still seeing in 2019.2.0f1

  6. 3000236187c7e84859571f461182b0f6?d=mm

    RGV

    Aug 04, 2019 20:32

    Just eventually happened in Unity 2019.2.0f1. Same conditions. Not every time.

  7. 8b731baef2f2c8cfa0b2dca8f0bace70?d=mm

    taynaTinoco

    Jul 01, 2019 14:18

    same happened when a try to build for android in Unity 2019.1.5f1

  8. 8241e84d269149192dc1a67e63624456?d=mm

    Bubiluminati

    Jun 13, 2019 21:35

    Same issue in Unity 2019.2.0b5
    Installed after a few minutes, switched to Android and tried to open the Player Settings... nothing was displayed in the window and the errors were shown in the console...

  9. E048100fc31c23e870444a4bd9df5111?d=mm

    ziemlich3D

    Jun 07, 2019 16:17

    I'm also facing this problem in 2019.1.5f1. Seems still not fixed...

  10. F25db945e005add93f29ca8e53869f17?d=mm

    AmitSuri

    May 21, 2019 22:03

    Yep... Still an issue in Unity 2019.1.3f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.