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
0
Question by th3jcrew · Mar 28, 2014 at 08:08 AM · glitchinggame editortwice

Unity Building Game Glitch

Hi i was making my game in the unity editor and when i played it in the editor it was fine it was all working but when i go to build my game for mac i make it to the tittle screen fine but when i click start it takes me to my level but it really glitches i can't move the character's Camera (Its A fps) it has two instances of the level apart from one in rotated at 90 degrees it almost like its running the same level twice at the same time this is my menu script:

 var IsQuitButton = false; var IsStartButton = false; var IsHelpButton = false;
 
 function OnMouseEnter() { renderer.material.color = Color.red; }
 
 function OnMouseExit() { renderer.material.color = Color.white; }
 
 function OnMouseUp() { if( IsQuitButton ) { Application.Quit(); } if( IsStartButton ) { Application.LoadLevel(1); } if( IsHelpButton ) { Application.LoadLevel(3); } }

Thank you for anyone who answers this will be much appreciated :)

Comment
Add comment · Show 3
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 CHPedersen · Mar 28, 2014 at 08:17 AM 0
Share

It's probably throwing a crap load of exceptions in the background, and the game is being slowed down because it spends time writing them to the log-file. It's possible the build is somehow different from the editor; maybe you're loading some asset file which you didn't copy from the editor to the build folder, and it can't find the file in the build?

Try building the project again, with Development Build enabled in the Build Settings. If it throws exceptions, they will appear in red text.

Also, please format your question. Nobody wants to read randomly inserted code with no indentation.

avatar image th3jcrew · Mar 28, 2014 at 09:45 AM 0
Share

thanks i did that in the red it says the file level 0 is corrupted remove it and launch unity again does this mean i have to delete level 0 and remake it :( sorry for not formatting my question I'm new to the whole unity community thingy

avatar image CHPedersen · Mar 28, 2014 at 09:52 AM 0
Share

Ouch, that sounds bad. O_O I've never had it say a level was corrupted. What happens if you open that scene in Unity? Does it display fine in the editor? All the gameobjects are nicely set up, all attachments still work, no materials or scripts are marked "$$anonymous$$issing", etc.?

0 Replies

· Add your reply
  • Sort: 

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

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

Need help with tilt in unity 1 Answer

How do you import spirte sheets, backgrounds, and other images, for a 2D game? 1 Answer

How to use editor itons in game? 1 Answer

does some one know what are the units used by unity for force and mass? 0 Answers

Pixelstudio (Moving) skybox clouds not tiling correctly 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