Search Issue Tracker

Fixed

Fixed in 2021.3.13f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a17

Votes

5

Found in

2021.3.8f1

2022.1.13f1

2022.2.0b5

2023.1.0a6

Issue ID

UUM-12998

Regression

Yes

“SendMessage cannot be called during Awake” warning appears when entering Play Mode if having Canvas nested in Canvas and the "Enter Play Mode Options" enabled

--

-

How to reproduce:
1. Open the user’s attached project
2. Enter Play Mode
3. Observe the Console window

Expected result: No warning
Actual result: “SendMessage cannot be called during Awake” warning appears

Reproducible with: 2021.3.6f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b5, 2023.1.0a6
Not reproducible with: 2020.3.38f1, 2021.3.5f1

Reproduced on: macOS 12.4 (Intel)

Note: Not reproducible without the “Enter Play Mode Options” setting (Edit > Project Settings > Editor > Enter Play Mode Options)

Full warning: SendMessage cannot be called during Awake, CheckConsistency, or OnValidate (Canvas: OnCanvasHierarchyChanged)

  1. Resolution Note (fix version 2023.1.0a17):

    Fixed in: 2023.1.0a17

  2. Resolution Note (fix version 2022.2.0b15):

    Fixed in: 2022.2.0b15

  3. Resolution Note (fix version 2022.1.23f1):

    Fixed in: 2022.1.23f1

  4. Resolution Note (fix version 2021.3.13f1):

    Fixed in: 2021.3.13f1

Comments (2)

  1. Tortuap

    Sep 09, 2022 16:20

    Can we get an update on this issue ? Its really annoying to fill the log each time I go in Play Mode.

  2. Tortuap

    Sep 06, 2022 21:22

    It is not only that a warning message is written to log, but the main issue is that the sub canvas is not rendered at all!

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.