Question by
lic1227 · Mar 09, 2017 at 02:33 PM ·
unity 5managermemory managementresource
Will Resources.UnloadAsset unload the asset from memory evenif there exists a reference between it?
I can unload the mesh ,even there is reference,but i cannot unload the sharedmaterial,why? The Doc says "If there are any references from game objects in the scene to the asset and it is being used then Unity will reload the asset from disk as soon as it is accessed." What doed it mean? Thank you very much
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612112807im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can anyone tell me how to fix this problem???? 1 Answer
AR Background Renderer Feature Missing in URP 4 Answers
iOS Possible memory leak when large TextAsset is loaded 0 Answers
Package Manager is empty/blank 2 Answers
Where to set Total_Memory? 0 Answers