Multiple Canvases in root Canvas with "CanvasScaler" are broken (5.4.0f1).

When there are multiple Canvases in root Canvas with “CanvasScaler”, some child Canvas’s RectTransform are broken.

  1. Put a root Canvas (named as Root) with CanvasScaler (UI Scale Mode: Constant Pixel Size, Scale Factor: 2, Reference Pixels Per Unit: 100).

  2. Put two or multiple Canvases (Pixel Perfect: Inherit) which RectTransform is streched as Root Canvas’ child.

  3. Play, then one or some Canvas(es)’ RectTransform streched mode are broken. As a result, the RectTransform is left-bottom mode.

2718580--192966--Test.gif

Could you file a bug with the example already set up?

I have the same problem on ALL my Projects… Every “Sub-Canvas” are reseting to anchor LEFT-BOTTOM and changing Size when I Play on Editor or load an Scene.

This is a regression of : Nested Canvases do not Save Anchoring Settings - Unity Engine - Unity Discussions

The workaround suggested there do works if you need something urgent.

I filed a bug example at #816381.

We’re seeing something very similar. I can not post specifics in this forum but have a thread in the console specific forum.

But basically, all our screens have exploded with RC2 and yet worked fine in Beta 23.

This is not a release candidate.

To follow up on the thread, we’re not able to repro the bug/condition in our upcoming f3. So, unless others provide a specific case/bug report, we’re going to assume we’ve addressed this.

Hello, @ .

5.4.0f3 still has this bug of causing children canvases to lock down to the bottom left on play or when reloading the scene.

@beNice after much trying found the root cause and why it wasn’t on every project. I have a fix that i’m running through extensive testing before releasing.

2 Likes