Why are all png textures now importing as sprites?
I had to reinstall Windows, and now my different versions of the same Unity project has this issue. All png files seem to be set up as sprites, and when I try to change it back to default in the inspector, it immediately changes back.
What gives?
Sounds like a permissions issue - have you checked the file permissions on your asset folders and files?
One thing to try is create a new project and see if you get the same behavior. If not, compare the permissions on the files/folders in your test project with the one that doesn't work.
Hmm, looks the same, you mean looking at the file permissions in Windows? I just tried opening up the version from the other drive, which seems fine, so that could explain it. Well it would make no sense to me why that would change a file to a sprite.
Answer by kdeluxe · Jul 11, 2021 at 11:41 AM
Still nothing! Maybe it is a permissions issue but I have no idea how to find out how to fix it. I moved a fresh project over from my old drive and it now has the same problem.
Well, it was a shot in the dark on my part. You have to ask yourself what could have changed. Reinstalling Windows seems like a candidate for messing with your hard drive, often permissions do not get set up properly.
Did you try creating a new project and see if you get the same behavior? If it misbehaves with a new project, then I think your next best step would be to reinstall Unity. If you get the correct behavior with new project, you can try quitting bad project, delete the library folder and all .csproj files, and reopen the project.
Before you try any of the above, be sure to copy your project folder to a backup drive.
well i worked on the old drive and it was fine, then dragged it to the new drive and seemed okay at first, then it happened again. maybe it would have happened instantly if i'd messed with any texture images, as anything i don't touch stays as it was. and it's only texture images that are suffering from this.
hmm, reinstalling windows? worth a shot i guess, doesn't take all that long.