Search Issue Tracker


Fixed in 2021.3.9f1



Found in


Issue ID




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

    Aug 24, 2022 05:56

    FICK YOU unity! Fix this NOW!

  2. lanpartygamesstudio

    Aug 23, 2022 10:49

    Absolutely unacceptable that a bug this critical and obvious has made it into a LTS build.

    Makes you wonder about how Unity's internal development processess work...

  3. mster50-2

    Aug 22, 2022 13:39

    The sheer amount of time I spent trying to figure out what was going on makes me pretty grumpy that this regression was introduced in an LTS build.

    After figuring out it wasn't my event system at all and isolating the issue, I finally was able to find a bug report on this problem. Given the prevalent usage of sub-canvases and the fact it's recommended as a performance-gaining measure, it's pretty ridiculous this bug saw a release build.

    So many hours wasted. Not pleased.

  4. Devil_Inside

    Aug 17, 2022 13:25

    Ridiculous irresponsibility to introduce bugs like this one into an LTS build. I have no words.

  5. Radiogaga84

    Aug 15, 2022 14:23

    ... This is very urgent issue..
    It breaks whole UI System in my project...!


  6. forqan

    Aug 15, 2022 09:56

    Please give it priority.. It's very urgent for our project.
    Can you please provide the expected release date of 2021.3.9F1?


  7. squareHusky

    Aug 13, 2022 16:17

    How is this issue not an absolute priority? It breaks UI completely for almost everybody... really regret upgrading, wasted many hours trying to figure out what was wrong thinking it was something I did only to find this...

  8. major_unity

    Aug 13, 2022 03:32

    UNITY_28F4AC2E6DD541552719: of course you are, 2021.3.6 is when the bug was introduced, you need to update to 2021.3.9 for it to get fixed.

    They don't backport bug fixes to previous bug fix patch versions, that's why the version number *increments* when patches fix bugs.

  9. unity_28F4AC2E6DD541552719

    Aug 11, 2022 14:35

    Still experiencing issue in 2021.3.6f1

    Using the temporary workaround of having sub-canvases with override sorting and equal sort orders, we discovered that when sub-canvases have equal orders, a sub-canvas gameobject that is enabled after the others will render on top, ignoring the hierarchy.

  10. philipgen

    Aug 11, 2022 14:12

    I confirm it is broken in 2021.3.8 and not in 2021.3.5

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.