Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.1.0f2

Issue ID

1038949

Regression

Yes

[iOS] Delayed call gameObject.SetAction() makes UI disappear

UI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Reproduction steps:
1. Open the attached project "UI Bug Report.zip";
2. Open the Bug Test scene;
3. Build an iOS XCode Project;
4. Run iOS project on any iPhone device;
5. Click button make "Image - Red" active and "Image - Yellow" will be inactive after 1 second.

Expected results: Image - Red will be displayed and will not change until you press the Button again.
Actual result: After Image - Yellow is destroyed, red color disappears, screen color is blue (UI Camera solid color) now.

Reproduced on: 2018.1.0b9, 2018.1.2f1, 2018.2.0b5, 2018.3.0a1.
Not reproduced 2018.1.0b8 and lower.
Reproduced with iPhone 8 (iOS 11.0).
Note: in the Editor, everything works as expected.

Comments (1)

  1. C582b39207d15a7341636d5966fcb252?d=mm

    ArcIo

    Jan 29, 2019 13:57

    I'm also seeing this issue on a mobile game in 2018.2.15f1
    Happens randomly on iOS (about 50% of the time)

    When I load the main scene, I show a "loading" canvas. When done loading, I destroy it or set it to enabled(false). This kills the entire UI.

    Note: in the editor and on Android, everything works as expected and the Particle system still works.

All about bugs

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