Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.1.0b9

2018.1.0f2

Issue ID

1038949

Regression

Yes

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

uGUI

-

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. 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.

Add comment

Log in to post comment