Drag in .png, to be a Sprite, how?

Sometimes I’ll drag a .png file into the project pane and it’s turned into a “sprite”.

Other times it remains just a .png in the project.

Why the difference?

How do I ensure I get a Sprite each time I do this?

In your “Editor settings” (Edit → Project Settings → Editor) set your “Default Behaviour Mode” to 2D if you want Sprites, 3D if you want Textures. (Unity also asks you “2D or 3D” when you create a new project)

I’m not aware of any, but there might be special cases. Like if you drag an image directly into a canvas or a 3D object, it might assume you want the matching sprite or texture to go with that object.

1 Like

THANK YOU!!!

This was indeed the problem. I had two different projects, one started as 2D, the other as 3D. The project folder operates differently in them, when dragging .png into them.