Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
0
Question by gibberingmouther · Jan 24, 2017 at 08:09 AM · animation2d game

my game object won't show up in the game world

so i have an "empty" game object with a sprite renderer added to it and a sprite assigned to the sprite renderer. i can place it in the world in the editor and it correctly displays that sprite. however, it doesn't show up in the game view or when i run the project. that's pretty much my problem.

i looked at a tutorial where some guy did the same thing and he had no trouble getting the game object to display. the reason i'm doing this is to have an object that moves and animates and so on. but i have to get step one right first before i can move on to that. i've checked a few things including layers and that doesn't seem to be the problem ....

Comment
Add comment · Show 4
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 tanoshimi · Jan 24, 2017 at 09:09 AM 0
Share

A screenshot of your scene would help. Is your renderer definitely within the frustrum and clip planes of your camera?

avatar image Peaj · Jan 24, 2017 at 09:11 AM 0
Share

Is your camera directed at the sprite? And is it looking at the sprite from the right direction?

avatar image gibberingmouther · Jan 24, 2017 at 06:04 PM 0
Share

https://postimg.org/image/ya03i4szj/ scene view you can see the two game object sprites in the green background. like i said i tried removing the background, didn't do anything. the camera is definitely over the sprites. even if it wasn't, my script should move the game objects to my cursor anyway.

avatar image gibberingmouther · Jan 24, 2017 at 06:07 PM 0
Share

https://postimg.org/image/w8w3ji2f7/ here's a second capture with the camera's inspector shown. as far as i can tell i had a plain sprite object in the green area before, and that showed fine. it's just the sprite renderer-game object thingies that are giving me a problem.

1 Reply

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

Answer by gibberingmouther · Jan 24, 2017 at 11:24 PM

my depth was off. it was the same as the camera's, -10, and i had to set it to 0. solved! yipeeeeeeeee

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2d Sprite Animation Editor Scripting. 2 Answers

I have an animated character that's going to ride a bike, but how do I put one leg behind and one leg in front of the bike in Unity 2D? 1 Answer

Hide parts of the sprite in 2D? 0 Answers

How to manage 2D sprite animations correctly? 0 Answers

Play 2 Animations in 1 controller 0 Answers


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