Unity Issue Tracker - UnityEvent listener execution state is Off by default
Fixed
UUM-27561
UnityEvent listener execution state is Off by default
Unity: uGUI
Fixed
2023.2.X
2023.1.X
2022.2.X
2022.2.0a9 onwards
Adding a new PersistentCall to a UnityEvent is added with the default value UnityEventCallState.RuntimeOnly instead of UnityEventCallState.Off
Reproduction steps:
1. Open the “OffByDefault” project
2. Open the “SampleScene“ scene
3. Select the “Test” GameObject
4. In Inspector click the “+” button to add a listener the “TestEvent” UnityEvent
5. Observe the execution state (top left) of the added listener
Expected result: the state is “RuntimeOnly“
Actual result: the state is “Off“