Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Warning: SendMessage cannot be called during Awake

Discussion in 'UGUI & TextMesh Pro' started by Wrymnn, Jan 9, 2023.

  1. Wrymnn

    Wrymnn

    Joined:
    Sep 24, 2014
    Posts:
    355
    From some Unity version, we get this message spam after compiling scripts of about hundred messages in our scene:

    Code (CSharp):
    1. SendMessage cannot be called during Awake, CheckConsistency, or OnValidate (Text_Content: OnRectTransformDimensionsChange)
    2. UnityEngine.UI.InputField:OnValidate ()
    Not sure what to do, it seems it originates from Unity InputField. Does anybody had issues with it and fixed it?