Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.60f1
6000.0.45f1
6000.1.0b13
6000.2.0a8
Issue ID
UUM-101900
Regression
No
Missing Script References are not removed from GameObjects when using GameObjectUtility.RemoveMonoBehavioursWithMissingScript
How to reproduce:
1. Open the attached “IN-98026.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Select the “TestRemoveScript” GameObject in the Hierarchy
5. Observe the Inspector Components
Expected result: The Script component with a missing reference is removed
Actual result: The Script component with a missing reference is still present
Reproducible with: 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8
Reproducible on: macOS Sequoia 15.3.2 (M3 Pro)
Notes:
- Reproducible on a new project
- Issue originally reported on Unity Discussions: [https://discussions.unity.com/t/gameobjectutility-removemonobehaviourswithmissingscript-doesnt-work/1621226|https://discussions.unity.com/t/gameobjectutility-removemonobehaviourswithmissingscript-doesnt-work/1621226]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Add comment