• 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 Potarraka07 · Aug 22, 2022 at 03:12 PM · gameobjectserror buildmacosx

Game Objects don't appear on build but they do in the Scene and Game tab

Lately I have being developing my game and everyt$$anonymous$$ng went right. It had been a w$$anonymous$$le since I didn't had done a build to my game. A day ago, I tried to see how my game was seen when played an the only t$$anonymous$$ng that showed on my screen were the shadows of the Game Objects. The game can be played and everyt$$anonymous$$ng works as in the editor, but there are no sprites. Moreover, the UI sometimes shows up ( I try to fix it but depending on the tutorial I follow they appear or not). Can anyone help, pls?? I'm running out of time and ideas... :(

PS: I'm using an old Mac OS X and I don't know if the problem might be with the bits my computer can handle (That's what other answers mentioned ). Also, the camera is attached to a Cinemac$$anonymous$$neVirtualCamera.

I have tried: -Changing the Z.position of the objects. -Checking all Layers and Tags are visible. -Playing with the camera parameters. -Restarting my computer. -Trying to build the game for itch.io for my friends to try (t$$anonymous$$s also hasn't been posible due to some compiler errors) -I have also read about changing Standard Shaders to Legacy Shaders for older computers but I couldn't find the way.

T$$anonymous$$s is how it looks:alt text

And t$$anonymous$$s is the approximation of how should look:alt text

captura-de-pantalla-2022-08-22-a-las-170758.png (94.9 kB)
captura-de-pantalla-2022-08-22-a-las-170758-copia.png (105.7 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by berkeerem · Aug 23, 2022 at 10:09 AM

Do you use some Awake code or somet$$anonymous$$ng? Sometimes a racing condition might prevent those boxes from initializing, leaving their game objects disabled. You can check if t$$anonymous$$s is the case using two approaches: 1) Try Debug.Log to see if your objects actually gets enabled. You can put somet$$anonymous$$ng in Start(). It won't trigger if the gameObject is not enabled. 2) Use a runtime debugger asset to check the $$anonymous$$erarchy. I use Debugger Essentials and it has been extremely helpful for me. It allowed me to see w$$anonymous$$ch objects are disabled. Then I was able to find out why (racing condition during init) and fix it in my code.

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.

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

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

Related Questions

How to render a particle system with a preset particle system in a prefab? 0 Answers

how to check all elements in array 2 Answers

Can u "bind" game objects together to increase performence in an explosion or traffic jam? 1 Answer

In a group of gameobjects, how to have only one object active at a time while disabling the others? 2 Answers

Having an issue with one script on multiple GameObjects 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