Heyo :) Another question, I've bought all of your assets at this point by the way- But in your video it says it goes through folders. Does that mean I can put my tilesets and everything in the same too and it'll slice? Thanks!
So sprite importer isn't intended to stay for the duration of your project, it is intended for project startup only. Once you start working with the files you should remove it. The problem you're experiencing in your other post is that sprite importer is reimporting all those sprites everytime you mess with them. So before you mess with them, you're supposed to install sprite importer, then setup your folders how you want them. Like I have a spritesheets folder and every sprite in that folder is sliced 16x16, where my characters folder is sliced for whatever the dimensions of the characters are. I have separate sprite importer settings for each folder. Then when you've finished adding all your sprites, you remove the sprite importer to avoid having the other issue you're having.
The reason for this performance issue is due to a failure on the part of Unity's designers. It the cost of having automatic sprite configuration on import. There is a faster method but it requires that you slice them individually one by one. It's almost as involved as just doing it manually yourself the way Unity intended.
Also I am curious why it took an hour to slice all your sprites. Are you doing this on a PC from 1995 lol. It takes my computer 16 seconds to slice every sprite file from Seliel the Shaper's entire collection.
lol beats me im curious aswell xD I discarded that project now and am working on the new one. The slicing itself is fast, its just when I move the output folder to my project it isn't. So, I'm a little confused- If I just paste the sprites into unity like you do in the video it does slice them, but they aren't nicely organized like they are in the output folder in mana tools. However, If I try and move my output folder it takes 4 hours to put in unity AND it makes moving around extremely slow. I'm not sure what the output folder is if I can't even use it for organization- Unless.. Is that output folder the files that WERENT needed? Maybe thats what my issue is LOL Edit* I decided to drag the output folder again, it took 20minutes to xfer and now it doesnt load slower. If anyone runs into this issue the only thing I did was remove Unitys version control.
'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.
Heyo :) Another question, I've bought all of your assets at this point by the way- But in your video it says it goes through folders. Does that mean I can put my tilesets and everything in the same too and it'll slice? Thanks!
So sprite importer isn't intended to stay for the duration of your project, it is intended for project startup only. Once you start working with the files you should remove it. The problem you're experiencing in your other post is that sprite importer is reimporting all those sprites everytime you mess with them. So before you mess with them, you're supposed to install sprite importer, then setup your folders how you want them. Like I have a spritesheets folder and every sprite in that folder is sliced 16x16, where my characters folder is sliced for whatever the dimensions of the characters are. I have separate sprite importer settings for each folder. Then when you've finished adding all your sprites, you remove the sprite importer to avoid having the other issue you're having.
The reason for this performance issue is due to a failure on the part of Unity's designers. It the cost of having automatic sprite configuration on import. There is a faster method but it requires that you slice them individually one by one. It's almost as involved as just doing it manually yourself the way Unity intended.
Also I am curious why it took an hour to slice all your sprites. Are you doing this on a PC from 1995 lol. It takes my computer 16 seconds to slice every sprite file from Seliel the Shaper's entire collection.
lol beats me im curious aswell xD I discarded that project now and am working on the new one. The slicing itself is fast, its just when I move the output folder to my project it isn't. So, I'm a little confused- If I just paste the sprites into unity like you do in the video it does slice them, but they aren't nicely organized like they are in the output folder in mana tools. However, If I try and move my output folder it takes 4 hours to put in unity AND it makes moving around extremely slow. I'm not sure what the output folder is if I can't even use it for organization- Unless.. Is that output folder the files that WERENT needed? Maybe thats what my issue is LOL Edit* I decided to drag the output folder again, it took 20minutes to xfer and now it doesnt load slower. If anyone runs into this issue the only thing I did was remove Unitys version control.
Good to know, I'll keep that in mind. Thanks!
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?