Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
8
Question by Zhinkk · Aug 11, 2017 at 07:32 AM · 2dspritesprite renderer

Sprite not visible?

I'm sorry this has been asked before, but none of the solutions have worked for me. I made a simple background in photoshop and saved it as a PSD. Unity automatically set it as a Sprite (2D & UI) under import settings. When I dragged it in the hiecharchy, I can see it in my scene view but NOT my game view.

I tried putting the sprite in its own layer, making the layer appear first, and also setting the "Order in Layer" to a value such as 5. No dice.

alt text

Any advice on how I can make this sprite appear in gameview? Thanks. I'm using Unity 4.6b18

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

7 Replies

· Add your reply
  • Sort: 
avatar image
24
Best Answer

Answer by kacyesp · Sep 02, 2014 at 02:31 AM

In the scene view, drag the main camera over the sprite. Also make sure that the camera's z value is lower than the sprite's z value in the transform's position.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tomachinz · Mar 04, 2019 at 07:39 AM 0
Share

any idea why this would be good? my sprite is not in the scene, as i add it dynamically. it's in an asset.

avatar image DmitryKanunnikoff · Jun 14, 2019 at 08:09 AM 0
Share

"Also make sure that the camera's z value is lower than the sprite's z value in the transform's position." - excellent! Thank you very much!

avatar image lucbloom · Mar 28, 2020 at 11:18 AM 1
Share

This answer might be old. 2019 and up: Use UI --> Image Don't use 2D Object --> Sprite

avatar image ertbaran · Apr 12, 2020 at 12:33 PM 0
Share

Yeah. That is good idea :)

avatar image JasonZGames · Jul 28, 2020 at 09:12 AM 0
Share

Thanks! That Worked For $$anonymous$$e! Change Ur Camera Z To Around -10 And It Will Work

avatar image
11

Answer by HorusVision · Apr 02, 2019 at 04:25 PM

Use UI --> Image

Don't use 2D Object --> Sprite

alt text


image-not-sprite.png (23.0 kB)
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image starrtennis · Jul 22, 2019 at 04:32 AM 0
Share

This sounds like a really arbitrary and unnecessary workaround. Shouldn't both methods work?

avatar image Ghostling225 starrtennis · Jul 28, 2021 at 08:56 AM 0
Share

No, for UI elements, you should use UI components. A 2D Sprite is the thing you'd use when making, for example, a 2D player character. A UI Image, on the other hand, is rendered with the Canvas/UI system and was, well, built just for this purpose - Images in UI Canvases

avatar image
9

Answer by HanSoloYolo · Mar 24, 2018 at 06:29 PM

None of the above worked for me.

I am doing a Vuforia Project with the AR Camera, the camera always defaults to 0,0,0 on Play.

My clipping near plane cannot be set to -1. The lowest value is .01 for near.

I cannot move the camera and I cannot set the clipping plane to -1.

Sprite plays fine in scene view. How to I get my sprite to show up in game view?

EDIT Got it working!

  1. I set the canvas to Screen Space - Camera

  2. Then set the Render Camera to Main Camera.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
8

Answer by jtathir · Aug 11, 2017 at 06:47 AM

Make sure your camera clipping near value is set to -1. Hope this will help, i faced similar problem an d this was the solution.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Sindrex · Aug 15, 2017 at 01:45 PM 0
Share

Can confirmed this worked for me too. Had an image that didn't show up when playing, but did this and it was fixed.

avatar image dvural · May 03, 2019 at 05:01 PM 0
Share

i only got this problem when entering one specific scene, fiddling around with layer settings did nothing but this fixed it.

avatar image
1

Answer by r4lax · Aug 16, 2017 at 04:27 AM

maybe you are in wireframe mode , i had the same issue i put it in shaded mode and works

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

45 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why is it that some sprites render in game view and others do not? 1 Answer

How to optimise 5000 sprites? 1 Answer

2D-Sprite Bug? 1 Answer

2d rotate sprite when jumping and falling in C# 1 Answer

How to Update Objects Sprite to the Network 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges