Search Issue Tracker

In Progress

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.22f1

2023.2.16f1

6000.0.0b13

Issue ID

UUM-67599

Regression

Yes

[CustomEditorAttribute] Custom buttons of a script in the Inspector disappear when an unrelated script is deleted

--

-

*Note:* Please see pinned comment by Maria below for investigation results.

 

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/Network Game Scene” Scene
3. In the Hierarchy window, select “Character-Template” (Game Scene Content > Character-Template)
4. In the Inspector window, observe the “Add Character To Initiative Tracker“ and “Give Control To Selected Player Controller“ buttons
5. In the Project window, delete the “Assets/Scripts/Editor/MeshSymmetry2Editor“ script
6. Repeat steps 3 and 4

Expected result: Both buttons are still visible
Actual result: The buttons disappeared

Reproducible with: 2022.3.0f1, 2022.3.22f1, 2023.2.16f1, 6000.0.0b13
Not reproducible with: 2021.3.36f1, 2022.2.21f1

Reproducible on: Windows 11
Not reproducible on: No other environments tested

  1. Resolution Note:

    If multiple CustomEditor are registered for the same type only a single one gets instantiated (still the case). But the order of which CustomEditor gets instantiated is stable even if scripts are added or removed from the project.

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.