Unity Issue Tracker - Applying an empty event to a prefab when an event of the same prefab exists overrides the newly added event
Closed
UUM-1032
Applying an empty event to a prefab when an event of the same prefab exists overrides the newly added event
Unity: Scene Management
Won't Fix
2019.4.X
2019.4 LTS has reached end-of-life. This port is cancelled.
Reproduction steps:
1. Open the attached 'Events' project
2. Open the 'SampleScene' scene
3. Select the 'Button' GameObject
4. In the Inspector add an OnClick event to the Button component
5. Right-click on the Button component for the context menu (or click ⋮)
6. Modified Component > Apply to Prefab 'Button'
7. Observe the event created in step 4
Expected result: The event remains empty
Actual result: The event's object value becomes the 'Button' prefab object