Search Issue Tracker

Fixed in 2021.1

Votes

2

Found in

2019.3

2019.3.0f1

2020.1

Issue ID

1206410

Regression

No

OnValueChanged callback is not executed in Play mode when Domain Reload is disabled

uGUI

-

How to reproduce:
1. Open attached project ("UI-REPRO.zip")
2. Open SampleScene scene
3. Enter Play mode
4. Slide right and left sliders

Expected result: Both spheres change color when according slider is moved
Actual result: Only sphere with OnValueChanged set to "Editor and Runtime" change color

Reproducible with: 2019.3.0a2, 2019.3.0f4, 2020.1.0a17
Not tested with: 2017.4.35f1, 2018.4.15f1, 2019.2.17f1, 2019.3.0a1 (Feature introduced in 2019.3.0a2)

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed with 2021.1.0a5

    Fix Unity Events that were set as Runtime only to initialize properly upon entering playmode with the FastEnterPlay mode enabled.

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.