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.
  2. Unity 2022.2 is now available as the latest Tech release.
    Dismiss Notice
  3. We are making some changes to the DOTS forums.
    Dismiss Notice
  4. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  5. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

SendMessage spam in Unity 2018.3 (maybe before)

Discussion in '2018.3 Beta' started by aurelien-morel-ubiant, Dec 11, 2018.

  1. aurelien-morel-ubiant


    Sep 27, 2017
    When we tried to access to
    Code (CSharp):
    1. offsetMin
    Code (CSharp):
    1. offsetMax
    from RectTransform, we get this log something like 186 times and sometimes more and more :

    Code (CSharp):
    1. SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
    2. UnityEngine.RectTransform:set_offsetMax(Vector2)
    Is it normal that RectTransform variable trigger this in OnValidate() ? Cause we never saw it in 2017.

  2. xVergilx


    Dec 22, 2014
    Yeah, it's okay. UT probably added some event to that property.
    There's not much you can do with it afaik.
    SendMessage warning spam in OnValidate is one of those things I'd like to be removed competely from the Unity. Not so much possible though.