austinstout
austinstout

Reputation: 1220

2D sprite in Unity is not displaying the picture I assigned to it

So, I just got started with Unity3D and I don't really know what I'm doing.

I'm following an online tutorial and so far I've downloaded an image, imported it as an asset, and dragged this asset onto the "sprite" box(under sprite renderer) where, apparently, we are supposed to drag a texture onto a sprite. When the tutorial does it...their image shows up in the scene. Mine, however doesn't.

When I click the little circle to the right of this, and go to the 'scene' tab, there is only an option that says 'none', while in the tutorial the image that is desired is also an option. I feel like fixing this will fix the problem.

Thanks

Upvotes: 0

Views: 9419

Answers (2)

timmay
timmay

Reputation: 1

Fellow Unity noob here: I had the same problem and realized I was dragging the sprite onto the scene window onto my GUI....which was not the same XY coordinates my main camera was looking at.

Double click on your main camera object to see what it sees in scene view. Is your sprite in view? If its not, you will need to adjust the XY coordinates of your sprite.

Upvotes: 0

mwilczynski
mwilczynski

Reputation: 3082

If image is not showing up when you're browsing for it Unity3D it means it has not been imported to project as asset. To do so, from Unity3D editor go to folder Assets, right click and choose Import New Asset:

enter image description here

Also you need to browse in Assets, no idea why you're browsing in Scene.

Upvotes: 1

Related Questions