Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.5.0b4

Issue ID

834681

Regression

Yes

Warning when changing value of Scrollbar and Slider

uGUI

-

Warning when changing value of Scrollbar and Slider

1. What happened

Outside play mode, if I change the size parameters of the scrollbar or the value parameter in the slider; the editor shows a warning error for each transition.

2. How we can reproduce it using the example you attached
.Select the Slider and change the value parameter.
.Select the ScrollBar and change the size parameter.
.Monitor the console.

This is a video showing the issue: https://i.gyazo.com/54d857dac32d64b830fcc817997970bb.gif

This is correctly working on:
5.3.5f1

Comments (1)

  1. Protozoaire

    Nov 29, 2018 08:31

    1. What happened
    Warning message spam in console "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate".

    2. How we can reproduce it using the example you attached
    If we add a UI/Scrollbar gameobject, then we click on the On Value Changed "+" button to add a script to it.
    Then it's not calling the script and the console gets spammed by this message "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate".

    Even with a simple "On Value Change", active GameObject, it's not working and spamming the console.

    Even with an empty "On Value Changed" it's spamming the console...

    ==> Isssue reproduced in 2018.3.0b6

    => Workaround: It seems to work, and without warnings, only in the build (currently targetting Android).

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.