handcircus/Unity-Resource-Checker

Compile errors on Unity 2017.4.2f2 with v2.1

Firemaw opened this issue · 5 comments

Has the following compile errors on Unity 2017.4.2f2. Resource Checker v2.1.

Assets/Editor/ResourceChecker.cs(286,23): error CS0117: UnityEngine.TextureFormat' does not contain a definition for ATF_RGB_DXT1'
Assets/Editor/ResourceChecker.cs(287,23): error CS0117: UnityEngine.TextureFormat' does not contain a definition for ATF_RGBA_JPG'
Assets/Editor/ResourceChecker.cs(288,23): error CS0117: UnityEngine.TextureFormat' does not contain a definition for ATF_RGB_JPG'
Assets/Editor/ResourceChecker.cs(783,10): error CS0103: The name ac' does not exist in the current context Assets/Editor/ResourceChecker.cs(796,26): error CS0103: The name cnt' does not exist in the current context
Assets/Editor/ResourceChecker.cs(805,29): error CS0103: The name m' does not exist in the current context Assets/Editor/ResourceChecker.cs(807,29): error CS0103: The name m' does not exist in the current context

Should be fixed up in latest commit - can you let me know if this works ok? (Im not running 2017.4 here)

I tested it with 2017.4.2f2. It works, only the "Material" tab makes the Editor hang and I had to force quit. Happens always I press on the tab.

New version you uploaded has no compile errors and works now, thank you @handcircus

@woistjadefox Is this happening every time/every scene for you? (ie does this happen in an empty scene with just the skybox material). Is this happening only after you hit calculate?

No it's not happening in an empty scene. It happens right after I press on the Materials tab. I don't have to press the "Calculate" button.

I just tried a smaller scenery (I have a multi scene setups) and it worked without errors / crash, but the editor lags as hell while I'm on the Material tab. When I press another tab then, everything fast and fluent again.