Search Issue Tracker
By Design
Votes
1
Found in
5.6.1f1
Issue ID
925530
Regression
No
unloadUnusedAsset fails to unload an asset which contains a text component added by code
Steps to reproduce:
1. Open the attached project
2. Open the Assets/init.unity scene
3. Play the scene
4. Click on Menu bar -> demo -> load_prefab
5. Open Profiler. Review detailed info of GameObject. You can see cube and sphere
6. Click on Menu bar -> demo -> unload. It will call unloadUnusedAsset
7. Open Profiler. Review detailed info of GameObject. Sphere has destroyed but Cube was not
Actual result: Sphere has destroyed but Cube was not
Expected result: Cube and Sphere should be destroyed
Reproduced with: 5.5.4p1, 5.6.2p1, 2017.1.0f2, 2017.2.0b1
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
- 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
UDN_173228ec-9a54-4a13-b5b6-1cbc34619d6b
Oct 25, 2017 04:07
same broblem, really need fix