Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by ChimpKing · Dec 21, 2010 at 06:57 PM · errorbuildgamebuild-errormissing

Missing parts when I build my game....

I set up a side-scroller/runner game and it works perfectly in the play panel of unity. But when I Build & Run my platforms and player disappear but my GUI is still there.

What is going on? (My game is based on the z-axis if that matters....)

EDIT: Comment and tell any other info you need to find out what is wrong.

Comment
Add comment · Show 6
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 Justin Warner · Dec 21, 2010 at 07:59 PM 0
Share

Check that the Z Axis of the platforms and everything is in front of the background? Also that their are color contrasts and a light actually ai$$anonymous$$g at the side and not just from the top.

avatar image ChimpKing · Dec 21, 2010 at 08:10 PM 0
Share

I used toonyshader so light is not an issue (is it?). Also, I didn't put a background yet, so that shouldn't be an issue either.

avatar image Statement · Dec 23, 2010 at 08:18 PM 0
Share

If you have any warnings or errors in console output, those would be helpful. Also see the log file produced by your build after the game is run for any problems.

avatar image ChimpKing · Dec 23, 2010 at 09:10 PM 0
Share

I don't have any warnings or errors.... I checked the log and don't see anything wrong too....

avatar image Statement · Dec 23, 2010 at 09:19 PM 0
Share

Is there anything different with the object that disappear? Do you have any code that is destroying items that might be doing something wrong? Consider creating a script that monitor one or more of these objects and log to file if they become null. In that case, something surely is removing them during Awake or Start.

Show more comments

2 Replies

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

Answer by Statement · Dec 23, 2010 at 09:16 PM

Make sure you have selected the proper level(s) in your build settings. You might for instance at an earlier point in time made a test in a scene with the gui alone, and you might be repeatedly running that scene.

Comment
Add comment · Show 7 · 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 ChimpKing · Dec 23, 2010 at 09:55 PM 0
Share

WOW. I'm such an idiot. I changed the name of my scene and never re-added it to the build settings. Sorry for wasting your time. Enjoy the easy points :P

avatar image Statement · Dec 23, 2010 at 09:58 PM 1
Share

Don't feel sorry. I find great joy in helping others. Otherwise I probably wouldn't be hanging around here ;) I can't really buy food with the points or use them in other ways. :) Glad your problem was solved!

avatar image ChimpKing · Dec 23, 2010 at 10:13 PM 2
Share

Yah man, wish there were a million people as nice as you :P Thanks again for helping.

avatar image Statement · Dec 23, 2010 at 10:23 PM 1
Share

Thanks, you made my christmas :)

avatar image RAWilco · Apr 14, 2014 at 07:23 PM 0
Share

Ha! I just did this exact thing this morning, it's been driving me mental all day. I felt like a proper berk when I realised.

Show more comments
avatar image
2

Answer by Statement · Dec 23, 2010 at 08:03 PM

If you have tagged something "EditorOnly", then those objects are excluded from a build.

Check some of your objects if this tag is placed on them. If they do, remove the tag.

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 ChimpKing · Dec 23, 2010 at 09:06 PM 0
Share

I left them untagged.... so that isn't the issue.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors 0 Answers

Game crashes after build. 2 Answers

Why is another game loading from my Xcode project? 0 Answers

Gradle error while building on Android 0 Answers

Unity WebGL build error help, 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