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 /
avatar image
0
Question by MennoB · Jul 14, 2017 at 12:18 PM · editorcrashlogcrash log

What does the log tell me about editor crash on play?

[enter code here][1]Hi,

I started running into this problem where the unity editor crashes when I press the play button. It does this only in one particular scene of one particular project, and also after reimporting all assets. After a lot of failed attemps to try to isolate a problem in my code I dug up the log. This is my first time trying to make sense of them, I tried googling some of the more "suspicious" parts but I didn't find any answer. Could anyone help me out by telling me what the log says? Thanks so much!

[1]: /storage/temp/97726-log.txt

log.txt (132.5 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 Bunny83 · Jul 14, 2017 at 12:41 PM

Are you sure that the editor actually crashed?

Maybe your application just hang due to an infinite loop maybe? A lot people seem to confuse a hang with a crash or don't even know the difference.

Storing the log as pdf makes no sense. Why didn't you just append it as txt file? It's almost impossible to read the pdf due to the huge font size and massive word wrap.

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 MennoB · Jul 14, 2017 at 01:58 PM 0
Share

Hey, thanks so much for your answer. For some reason the site wouldn't accept my .txt first, only now when I tried several other text editors it worked. I thought I solved it by making it a pdf but clearly the layout sucked, I didn't check. Sorry! I wasn't aware of the difference between a crash/hang, thanks for pointing that out. In fact, I'm pretty sure it's a hang since it happens only in one scene. Could I still get useful information from the log?

avatar image Bunny83 MennoB · Jul 15, 2017 at 09:42 PM 0
Share

No, a hang is not an wrong action but usually an error in your logic. The application actually runs fine, but is stuck in an infinite loop.

For example when you just do this in Start:

 while (true)
 {
     
 }

Your application would be stuck forever in that loop. You would need to ter$$anonymous$$ate your game / the editor as there's no way to exit that loop.

You have to debug your code yourself. Try adding Debug.Logs at several places where it might get stuck and see the log what was your latest log that was executed.

Since we don't have your code we can't help you.

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

91 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

Related Questions

Editor crashes on second play 2 Answers

Unity Editor silently crashes straight away no error logs 1 Answer

What is the recommend way to debug an Editor crash? 1 Answer

Please help understand this Editor-Crash Log file 0 Answers

How can I find editor log file? 5 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