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 /
  • Help Room /
avatar image
0
Question by undead504 · Nov 07, 2015 at 11:53 AM · errorcrasherror buildcreate

I went To Test The Build of my Game and it crashed From a Trigger

I Made a Menu for my Game and it works inside The Engine but when I Do a Build it crash's. I Found out it was a Trigger causing the issue because I removed it and all was good. so I remade a Trigger and it still crash's . so i took out all my Script components off of it and for some reason it still crash's it is triggers altogether. I've look around and haven't seen a problem quite like this one any Help would be nice thank you

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 Statement · Nov 07, 2015 at 12:23 PM

When you get unexpected crashes on built players you have two main routes to figure out what's wrong.

  1. Read the log to figure out what is causing the crash

  2. Attach a debugger, if you have any scripts running that could cause the crash

Note that if the crash brings down the player it's likely that you may not even get an exception in managed code, but you can put breakpoints around areas you want to explore so you can step over calls to Unity. If you notice the player crashes when stepping over a certain Unity function, try to figure out what kind of data it operates on and see if that points you closer to a solution.

If you get information from the log, but don't understand what it means, try googling for parts of the message and see if anyone else have solved the same problem.

If you get no information in the log, and haven't got any script running, narrow down on the problem by selectively removing things you think shouldn't cause the crash and run again. When you have only the objects remaining the cause the crash, the problem must be isolated to those components or project settings. At this point you should sanity check every reference/value that is in use of the isolated system. If you still can't figure it out, have a look at different project settings. Try different render modes if it appear to be rendering related, and so on, to give one example.

Once you have exhausted your options, create a new project and import the bare minimum of your broken content/setup and verify that this small, isolated repro project still produce the same crash. Then submit it to Unity as a bug report following usual bug reporting procedure.

Comment
Add comment · Show 2 · 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 Statement · Nov 07, 2015 at 12:24 PM 0
Share

You could also try updating Unity to the latest version, if you haven't already, in case there has been bugfixes.

avatar image undead504 · Nov 08, 2015 at 04:25 PM 0
Share

Ok so I Restarted and Rebuilt $$anonymous$$y $$anonymous$$enu all over From Scratch and it was rough but it now work's fine don't Quite know what the problem was but i am attaching a Debugger for future referance and thanks for the Reply Statement.

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

34 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

Related Questions

Build completed with a result of 'Failed'. 0 Answers

Nothing Showing Properly! 0 Answers

UNITY GRAY SCREEN 3 Answers

Hello, I need some help to fix this error 0 Answers

Unity crashes after the project window opens 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