Search Issue Tracker

Fixed

Fixed in 2021.3.9f1

Votes

127

Found in

2021.3.6f1

Issue ID

UUM-9248

Regression

Yes

UI Elements are no longer rendered when deactivating and reactivating the Parent GameObject

--

-

How to reproduce:
1. Open the attached project “CanvasBug”
2. Open the “SampleScene” Scene
3. Deactivate and reactivate “Canvas” GameObject
4. Observe the Scene View

Expected result: The UI Elements are rendered
Actual result: The UI Elements are not rendered

Reproduced with: 2021.3.6f1
Not reproduced with: 2020.3.36f1, 2021.3.5f1, 2022.1.9f1, 2022.2.0b1, 2023.1.0a3

Reproduced on: Windows 11 Pro, macOS Monterey 12.4 (M1)

  1. Resolution Note (fix version 2021.3.9f1):

    uGUI: When disabling a canvas and reenabling it, Canvas now renders correctly.

Comments (43)

  1. eli_funzy

    Aug 09, 2022 12:55

    Pretty sure this breaks 90% of all existing Unity games.
    Insane that this is not fixed yet.

  2. vitalii_unity

    Aug 09, 2022 12:03

    2021.3.8 is out but it's still not fixed
    crazy

  3. greg-harding

    Aug 08, 2022 21:32

    It's pretty frustrating to see showstopper bugs like this shipping in LTS versions.

  4. Abed_Kadah

    Aug 08, 2022 10:44

    Same here with 2021.3.7f1, a workaround would be to call Canvas.ForceUpdateCanvases() or make a simple coroutine to refresh the canvas component. (disable then enable) with a tiny delay between them.

  5. Enrique48k

    Aug 05, 2022 11:22

    Nested canvases no longer work

  6. Luchianno

    Aug 04, 2022 20:52

    This was HUGE issue for all heavy UI based apps, hope it gets fixed next update

  7. VirtualDestructor

    Aug 04, 2022 19:22

    This is a showstopper. It broke both of my projects. Fortunately I am not uploading builds for another two weeks probably. Hopefully they have it fixed by then or I will have to downgrade.

  8. Reyality

    Aug 02, 2022 21:15

    We managed to fix a few issues with sorting layer adjustments, but when instancing a prefab onto a canvas it always breaks when toggling the canvas. Hope this issue gets addressed soon as it is currently blocking an update for our app.

  9. neeksdk

    Jul 31, 2022 18:19

    Same problem. When upgrade to 2021.3.6f1 or 2021.3.7f1 - this breaks all my app. This must be fixed as soon as possible.

  10. SillyBilly

    Jul 29, 2022 08:00

    Yea, this is a huge, fundamental issue. I'm very surprised this hasn't been addressed in 2021.3.7.

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.