- Home /
Weird issue with sprite selection
Hi everyone
I'm facing a very strange issue with sprites : whenever i click on an object containing a sprite component or click on a sprite in the asset database, unity immediately crash.
I started to dig the issue and after a while i decided to reimport all my sprite assets, it crashed ... what the hell ?
Then, and that's the interesting part, i found a weird trick to avoid the issue : if there is a PNG of my database, whatever this PNG is (!!!), specified in the file "FailedAssetImports.txt", everything goes back to normal with no crash. And by the way I encounter no issues importing PNGs as sprites since the start of my project.
So ok it works now, but i still have to keep a random PNG of my database in excluded imports to keep it ok. Not cool and totally what the fuck :(
My question is : does anyone already encountered this kind of issue ?
There is probably something wrong in my scripts because it's only since a few days. I have custom editors but nothing that deals with sprites by the way. The other strange fact is that my friend i'm working with doesn't have the issue even though he has the exact same project and unity version ...
Any clue would be awesome.
Thank guys !
Few Unity employees participate on this site, so you are unlikely to get a Unity engineer response to what is probably a bug. If you can create a reproducible situation, I'd post it as a bug. You could try:
Create package of your complete project
Start a new project
Import the package
I've got this issue too. I'm creating my Sprites in Paint.NET, if that makes a difference somehow. I've not found a reliable solution other than reopening Unity again and again until it stops happening. Very annoying and a real downer every time I start a project.