Search Issue Tracker
Won't Fix
Votes
1
Found in
2023.2.0a15
Issue ID
UUM-35960
Regression
Yes
"Destroying object multiple times" error message appears while applying removed component to prefab asset
Steps:
- Create a Cube
- Convert it to Prefab Instance
- Remove BoxCollider
- Component context menu: "Removed Component -> Apply to prefab 'Cube'"
Editor window is minimized.
"Destroying object multiple times. Don't use DestroyImmediate on the same object in OnDisable or OnDestroy." error message appears in Console.
Note:
- Also repro when applying added GameObject with right-click.
- Also repro with Layout -> Save Layout..
- Right-click in Project Browser -> Create -> Text -> Sprite Atlas
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Not reproducible anymore