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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment