Search Issue Tracker

Fixed in 2017.2.0f3

Votes

0

Found in

2017.2.0a2

Issue ID

930703

Regression

Yes

SendMessage cannot be called during Awake, CheckConsistency, or OnValidate prevents UI from showing

uGUI

-

SendMessage cannot be called during Awake, CheckConsistency, or OnValidate prevents UI from showing

To repro:
1. Open project attached (or import uMMORPG project).
2. Press Play and you'll get errors in log.

Actual result: warnings in log
SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEngine.UI.Slider:OnValidate()

Expected result: No warnings in log.

In 2017.1.0f3 works with no warnings.
In 2017.2.0a2 - b3 warnings appear.

Comments (21)

  1. Dd9b84d8442b6b3540d0cecee0d93f28?d=mm

    adefilippis

    Aug 06, 2019 18:14

    Not sure what was fixed in 2017.2.0f3.
    In 2017.4.26f1, this warning still appears in all GetComponent<MeshFilter>() statements called in Awake()

  2. 666883f2676596130be878ff0a540aba?d=mm

    PixelSquad

    Jul 12, 2019 11:35

    I get it in 2019.1.9f1 when loading a prefab containing sprites.

  3. 351997a13f842290031173c5a190a930?d=mm

    Hoglet

    Jul 07, 2019 23:24

    Still present in Unity 2019.1.8 when adding value to some properties in OnValidate

  4. 7e2238825378d91e220276f69c261db8?d=mm

    Meristrict

    May 27, 2019 12:13

    SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
    UnityEngine.MeshFilter:set_sharedMesh(Mesh)

    The same on 2019.1.0f2

  5. 7fa7d45cef044c226fe2c6a352082f59?d=mm

    tigme

    Apr 01, 2019 08:39

    Also have this issue on 2018.3.10f1

  6. 2598135ba306c83cb700e1aa6c3f0af0?d=mm

    yourfriendninjarinplays

    Mar 24, 2019 13:12

    I Have this problem when i change the value in my Slider

  7. 8cf225e14a7118db027e1e6352df0c0c?d=mm

    ilkeryasin

    Feb 17, 2019 14:17

    also i have same issue
    unity version = 2018.3.6f1

  8. 3fde696182d3216073a162eb5abc206c?d=mm

    DanStreaman

    Feb 16, 2019 02:53

    I am on 2018.3.4f1 and while doing:

    meshFilter.mesh = new_mesh;

    ...during OnValidate() I get the following warning:

    "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
    UnityEngine.MeshFilter:set_mesh()"

  9. A1c9c8a4403dc8bfc8f527366718744f?d=mm

    onenzz

    Dec 29, 2018 04:49

    Update:
    Tried deleting Unity folders from app data & program data, then reinstalling.
    No dice, unfortunately.

  10. A1c9c8a4403dc8bfc8f527366718744f?d=mm

    onenzz

    Dec 29, 2018 04:06

    I am getting these messages in 2018.3.0f2, but the slider still functions as expected otherwise.
    >Brand new 3D project
    >Right click in hierarchy
    >UI
    >Slider
    >Adjust slider amount
    >>Warning: SendMessage cannot be called during Awake...

    I will do a couple of things and make a new comment with the results.

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.