AssetDatabase.LoadAssetAtPath will cache data?
Hello,
I found a wired behavior about AssetDatabase.LoadAssetAtPath, I saved a scriptable in ScriptableObject, and using AssetDatabase.LoadAssetAtPath to loaded, after I change some value in this ScriptableObject, I do not save it, just set to null. However, the next time when I load it using LoadAssetAtPath, it shows that the value is already changed, but I checked the file on my hard drive, is keep unchanged. So is there a cache for the assetdatabs? is there any way to clear that?
Thank you very much.
Answer by galuodo · Sep 05, 2018 at 08:09 AM
I close the editor and reopen it ,it show the correct result.
Your answer
Follow this Question
Related Questions
Get asset file from scriptableobject (Nested Scriptableobjects) 2 Answers
Addressables.LoadAssets only loading first asset in the list 0 Answers
Setting an asset path using a inpsector option? 0 Answers
How to "Lock" scriptable objects from losing their [SerializeField] values 0 Answers
ScriptableObject Instances Referencing One Set of Prefabs - Changing One SO Changes The same prefab 1 Answer