Unity-Resource-Checker
Unity-Resource-Checker copied to clipboard
Editor utility for unity to help check resources in the current scene (including active textures, their sizes, materials, meshes and which objects are using them)
Love this utility and I have been using it for a while. I noticed it stopped working for me when I upgraded to Unity 5 (it was reporting 0 resources...
Line 647 misses a null check: Original: ``` if (m != null) { AnimationClip clip = m as AnimationClip; EditorCurveBinding[] ecbs = AnimationUtility.GetObjectReferenceCurveBindings(clip); ``` Fixed: ``` if (m != null)...
As stated, when material does not have "_MainTex" property, script will spam in console errors. Solution is to change: Line 360 from `if (tDetails.material.mainTexture!=null) GUILayout.Box(tDetails.material.mainTexture, GUILayout.Width(ThumbnailWidth), GUILayout.Height(ThumbnailHeight));` to `if (tDetails.material.HasProperty("_MainTex")...
I just formatting
mytool