Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.39f1
Issue ID
UUM-98435
Regression
No
Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
Reproduction steps:
1. Open the attached project “ReproProject“
2. Open the scene “SampleScene“
3. Try to drag and drop the script “TestScript.cs“ from the Assets to the GameObject “GameObject” in the Hierarchy
4. Select “GameObject“ in the Hierarchy
5. Observe the result in the Inspector
Expected result: Inspector elements are rendered once
Actual result: AddComponent button is rendered twice (also the Layout Properties footer is rendered twice if a component, such as the Horizontal Layout Group, adds the footer in the Inspector), stacked on top of each other
Reproducible in: 2022.3.39f1
Not reproducible in: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a2
Fixed in: 2022.3.40f1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The script “ComponentEditor.cs“ contains the code that triggers the issue
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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.