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 XengMellion · May 13, 2019 at 03:37 AM · crasheditor-launch-fail

Editor crashes as soon as I load my game

Hi all, I'm having an incredibly frustrating problem right now. I was fixing some code in a game I was constructing, then, upon playing, the editor crashed. I sent a case via email and am still waiting on a response. Here's the kicker: There's no solution to the crash, and it happens every time I try to start my game. I've shut down my computer and turned it back on. I've tried removing the scripts I was working on. I've even duplicated the file and opened it with the editor, but I keep getting the same crash message. The only time I've gotten the game to work was after I had removed all of the scripts from the folder, then began to put some back in. Upon putting all of them in, however, the editor crashes again. Does anyone have a fraction of a clue what's going on here? I don't have a previous version of this game saved on the cloud either. Thanks in advance.

Comment
Add comment · Show 2
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 Reedex · May 13, 2019 at 07:41 AM 0
Share

You obviously have script inside unity that has infinite loop. that would be my guess,... dont know how many scripts you have but get rid of them all from your project ,add those you know were working before and then keep adding scripts one by one back. althouh its probably the last one or two scripts you worked on.J p.s. you could have left some scripts sitting on object in inspector. p.p.s by "althouh its probably the last one or two scripts you worked on" i dont necessarily mean the 2 newest, you could make changes to a old script trying to put some new funcionality in. one more thing you could try is, open the folder with all your project codes in windows and sort them by date of change (or what you call it in english)

avatar image Bonfire-Boy · May 13, 2019 at 09:02 AM 0
Share

I wouldn't say it's "obviously" an infinite loop (I get the impression this is an instant crash).

In any case the obvious question for me would be.. is there anything in the editor log? That has to be the first port of call for something like this.

And two bits of more general advice:

1) use source control. In the unlikely event that the editor log doesn't help You would be able to roll back to a version that was ok and that would make finding the problem much easier. Not using source control is, frankly, insane.

2) whenever there is something "inexplicable" happening it is worth forcing a reimport of everything by deleting your project's Library/Temp folders while Unity is closed.

But I should stress again that you should do nothing at all until you've looked at the editor log.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by EternalClickbait · May 13, 2019 at 10:29 AM

It has been happening to me too. For me it was Newtonsoft json serializer that was the problem. Try adding the scripts back in one by one to find the problem. It's almost certainly an external file that's causing it

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

115 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 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

Unity Crashes on startup 19 Answers

Unity crashes in mac on launch when w/o admin privilege 0 Answers

Can't launch Unity 3.3.0f4 on Mac 10.6.6! 0 Answers

Editor Crash on Launch. 0 Answers

Unity 3d crashes on launch. 2 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