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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
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.