'Assets\Sprite Importer\Scripts\DirePixel\Editor\SpriteImporter.cs(46,22): error CS1061: 'TextureImporter' does not contain a definition for 'GetSourceTextureWidthAndHeight' and no accessible extension method 'GetSourceTextureWidthAndHeight' accepting a first argument of type 'TextureImporter' could be found (are you missing a using directive or an assembly reference?)'
This is a curious error as it seems to indicate the method GetSourceTextureWidthAndHeight does not exist, or the call to this method has been modified beyond the code I originally wrote. Did you change the code? And what version of Unity are you running?
← Return to tool
Comments
Log in with itch.io to leave a comment.
Hello. How to solve
'Assets\Sprite Importer\Scripts\DirePixel\Editor\SpriteImporter.cs(46,22): error CS1061: 'TextureImporter' does not contain a definition for 'GetSourceTextureWidthAndHeight' and no accessible extension method 'GetSourceTextureWidthAndHeight' accepting a first argument of type 'TextureImporter' could be found (are you missing a using directive or an assembly reference?)'
error?
This is a curious error as it seems to indicate the method GetSourceTextureWidthAndHeight does not exist, or the call to this method has been modified beyond the code I originally wrote. Did you change the code? And what version of Unity are you running?