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 AnalogSynth84 · Jan 25, 2013 at 04:52 PM · guieditorbuildplayermenu

GUI works flawlessly in editor, but will not show in standalone build.

Hey everyone, I'm working on a project, and have a GUI menu setup.

Up until recently, it was working in the editor, as well as the standalone player.

However, now it's only running in the editor, and nothing appears in the player.

I have no script errors (verified in the editor log, as well as the player log).

I'm currently using Unity 4.0.7, But loading the project in 4.1 had no effect.

A complete re-import of the project had no effect.

I'm at a loss, since it runs in the editor, clearly there are no script errors, yet it will not show in the standalone player.

Any help here would be greatly appreciated.

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 svefngenglar · Jul 15, 2013 at 09:10 AM 0
Share

I have the same issue. I've been scouring the web for two hours for a possible solution. I can't for the life of me figure it out. It's bizarre that it runs perfectly in the editor and in the build I get no errors in the log :S.

avatar image Graham-Dunnett ♦♦ · Jul 15, 2013 at 09:42 AM 0
Share

Try debugging using $$anonymous$$onoDevelop.

avatar image amphoterik · Jul 15, 2013 at 03:21 PM 1
Share

Can we see the script?

avatar image markedagain · Jul 15, 2013 at 03:52 PM 0
Share

make sure the gui code is running with debugger, also how are u positioning the rect ? if its not relative and you are using hard coded values, its possible your gui is just off screen

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by svefngenglar · Jul 17, 2013 at 04:15 AM

Okay, I figured mine out and it had nothing to do with OnGUI. My other programmer had set the object with all the GUI scripts to "EditorOnly" tag which meant the build wasn't running it at all. Figured this out by putting Debug.Log("GUI script running"); into void Start(). I assume this has nothing to do with the original persons question but who knows.

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

13 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

Related Questions

Passing a variable through the main menu 2 Answers

GUI Disappears When I Publish 2 Answers

Script work in editor but not in build 0 Answers

GUI Score Overlapping 1 Answer

uGUI objects not Instantiate()ing in executable 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