Unity-Resource-Checker icon indicating copy to clipboard operation
Unity-Resource-Checker copied to clipboard

Compile errors on Unity 2017.4.2f2 with v2.1

Open Firemaw opened this issue 6 years ago • 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

Firemaw avatar May 03 '18 03:05 Firemaw

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

handcircus avatar May 03 '18 21:05 handcircus

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.

woistjadefox avatar May 04 '18 07:05 woistjadefox

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

Firemaw avatar May 04 '18 08:05 Firemaw

@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?

handcircus avatar May 08 '18 08:05 handcircus

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.

woistjadefox avatar May 10 '18 15:05 woistjadefox