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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment