Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4.38f1

Issue ID

UUM-1032

Regression

No

Applying an empty event to a prefab when an event of the same prefab exists overrides the newly added event

--

-

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

Reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11

  1. Resolution Note:

    There are no fixes planned for this Bug

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.