Search Issue Tracker

Fixed in Unity 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

UI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

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 (17)

  1. 7fa7d45cef044c226fe2c6a352082f59?d=mm

    tigme

    Apr 01, 2019 08:39

    Also have this issue on 2018.3.10f1

  2. 2598135ba306c83cb700e1aa6c3f0af0?d=mm

    yourfriendninjarinplays

    Mar 24, 2019 13:12

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

  3. 8cf225e14a7118db027e1e6352df0c0c?d=mm

    ilkeryasin

    Feb 17, 2019 14:17

    also i have same issue
    unity version = 2018.3.6f1

  4. 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()"

  5. A1c9c8a4403dc8bfc8f527366718744f?d=mm

    onenzz

    Dec 29, 2018 04:49

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

  6. 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.

  7. B3e741c625f0e3af7fcd87851151a530?d=mm

    FineAllDay

    Dec 19, 2018 23:35

    Same error: Unity 2018.3.0f2
    When I try to move the value slider of a vertical scrollbar. The value can't be changed.

  8. 372c5f32b49c3b001b542d3e418860f1?d=mm

    Cathero

    Sep 05, 2018 15:53

    I'm also getting that same warning with 2018.2.2f1 when I create a default UI slider gameobject from the menu, and modify the slider component's "value" attribute in the editor outside playmode.

  9. 06db21d2c1969a8f186de808ab7327f0?d=mm

    tcmeric

    Aug 26, 2018 10:51

    Same in 2017.4, when moving a scrollbar.

  10. F7c1b9a81e9249b68091de5089c56809?d=mm

    flufy3d

    Aug 13, 2018 12:59

    I have the problem too.
    Unity 2017.4.8f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.