Closed ssoher closed 4 years ago
Here's the problematic line: https://github.com/yasirkula/UnityAssetUsageDetector/blob/98d1f43180e35da173582f3fb0260ce871019547/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.cs#L1082
The following condition must return false for this component in order to reach the above line: https://github.com/yasirkula/UnityAssetUsageDetector/blob/98d1f43180e35da173582f3fb0260ce871019547/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.cs#L937-L938
So, somehow the Animation component is not null and is not Equal to null but it throws a NullReferenceException when we attempt to iterate its animation clips. I don't know how this can happen. Can you check Portal object's Animation component and see if there is anything unusual with it (e.g. unassigned animation clips, missing component or component removed from prefab instance)?
To check if the issue is related to the latest version, please import the previous versions from here (1.7.8 and older versions) and see if the issue is resolved.
I made a bunch of changes on the Portal object before I saw your reply, tried to search again and everything seems to be in working order now. Sadly, I now have no clue why that happened. Feel free to close this issue, I'll add a comment if I encounter the same problem at any point. Emeklerin için teşekkür ederim, çok faydasını görüyorum 🙋♂️
Alright, closing the issue then 🙂
I receive a nullref with the below stack trace since the last Asset Store version. It only happens on some of the assets. Asset type makes no difference afaik, it happens on textures, scriptable object assets, scripts etc.