• 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 /
avatar image
4
Question by hiflyer380 · Sep 07, 2015 at 07:52 AM · 2dspriterenderingscenegame view

[SOLVED] Sprite showing up in "Scene", but not in "Game"

Before I begin: I've already tried everything already on the forums with relation to the Z axis, and that hasn't worked, so please avoid answering with that as a solution.

With that in mind, my problem is more or less the same - a sprite shows up in the "Scene" view, but not in the game, and, for the life of me, I can't figure out what's wrong. Screenshot link below.

Note: everything is on the canvas, and the canvas is set to Screen Space - Overlay, so it shows up on camera.

Due to the two screenshot limit, I've linked to them here.

Comment
Add comment · Show 2
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 CaptainKirby · Sep 07, 2015 at 08:45 AM 0
Share

Did you try and change it's order in layer? Otherwise I am thinking it could be a camera setting, are you using perp or ortho?

avatar image hiflyer380 · Sep 07, 2015 at 04:47 PM 0
Share

@Captain$$anonymous$$irby: The camera is in orthographic mode.

11 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by robinhuluan · Mar 06, 2019 at 11:33 PM

I solved it. Change canvas Render mode to Word Space and resize it, then in Canvas Scaler put Dynamic Pixels Per = 100 and in Reference Pixels Per = 1

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
avatar image
0

Answer by msmoyle · Jun 15, 2019 at 12:45 PM

mine was i had negative values in the z axis XD

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
avatar image
2

Answer by HernandoNJ · Mar 18, 2020 at 07:42 PM

I shouldn't change Canvas camera settings because of my code. I tried changing layers, didn't work. I figured out that axis Z was -456.7297 so, I changed it to 0 and it worked ok.

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
avatar image
0

Answer by tlskillman · Aug 11, 2020 at 12:56 AM

I forgot to create a raw image GO, and then make my jpg image its texture. Now it shows in my camera view and when built.

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
avatar image
0

Answer by Sanjay112000 · Jan 10, 2021 at 08:45 AM

Instead of adding Sprite directly follow these steps: 1)Add an empty game object 2)Add Image component 3)Now add your sprite to Image Component.Now it will appear

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
  • 3
  • ›

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

Sprite just disappear on scene mode 0 Answers

Resources.Load sprite returning null (4.3) 3 Answers

Sprite rendering problem 0 Answers

Character sprite rendering order 4 Answers

Rendering using the Transparent queue 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