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

  1. onenzz

    Dec 29, 2018 04:49

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

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

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

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

  5. tcmeric

    Aug 26, 2018 10:51

    Same in 2017.4, when moving a scrollbar.

  6. flufy3d

    Aug 13, 2018 12:59

    I have the problem too.
    Unity 2017.4.8f1

  7. XT3RM1N8R

    Aug 04, 2018 17:01

    I can confirm that I am having this issue as well. It happens whenever I apply changes to a prefab from OnValidate(). I am not using SendMessage() at all.

  8. coffiarts

    Jul 18, 2018 20:36

    Getting the same in 2018.1.5f1.
    Looks like a long-fixed issue has reemerged.

  9. BLaaECR

    Jun 08, 2018 02:41

    我也遇到过。。

  10. Gillissie

    May 16, 2018 19:01

    I'm also getting it in 2018.1.0f2, even though I have no code that calls SendMessage. Happens four times every time I apply changes to a prefab.

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.