Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0b1
Issue ID
900972
Regression
No
Unity does not clean up lost link SpriteRenderer object
Steps:
1. Open BUG01 scene in Repo project
2. In Scene View you can see a white sprite object, but hierarchy is empty
-> If a camera is added, it is also visible in Game View
-> Build to player, it is still visible
Note:
It was a SpriteRenderer GameObject before, and the bubble_bg sprite texture is assigned to it. Could not recall what actions I have done to it to cause that. When I noticed, it has already lost the linkage with the GameObject.
But Unity should be able to clean up "ghost objects" like this.
Concern:
If I remove the texture, the sprite is no longer visible. If I add the texture back, the sprite is visible. It means these objects are hidden and this could mean that there could be more hidden objects exist in a scene.
Opening the scene with different Unity versions still able to see the lost link SpriteRenderer object:
2017.1.0b1, 2017.1.0a6, 5.6.0f3, 5.5.2f1
The object is gone when opening with 5.4.0f3 (probably due to incompatibility)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment