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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment