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 MasterKitty · Nov 25, 2011 at 01:17 AM · bugcrashstart

Unity bug - can't test game

When I clock on the play button to test the game, it just freezes and I can't do anything, I tried reopening Unity, restarting Computer and even reinstalling Unity, but nothing seams to work. It worked fine for the first 2 weeks with no problems, but suddenly it started doing this. Any help?

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 Eric5h5 · Nov 25, 2011 at 01:57 AM 1
Share

You probably wrote a script with a bug (infinite loop I'd guess).

avatar image MasterKitty · Nov 25, 2011 at 11:26 PM 1
Share

SOLVED... it was a script error I had, anyway I fixed it and all works well now! :D Thank you all, I would give you rap, but this is a new account, so I'm not able to yet.

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by ks13 · Nov 25, 2011 at 09:23 AM

If this helps, i had the same problem before. After a bit of tests, i realised the "==" and "!=" operators i've overriden were recursively calling themselves... If you've added some recently try checking them first. In any case, since it's begun freezing recently it must be something you added of changed recently.

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
avatar image
2

Answer by rabbitfang · Nov 25, 2011 at 09:04 AM

Like Eric5h5 wrote in his comment, you probably have a script issue.

I would look through all of your scripts (hopefully you don't have many). First look at the actual loops. Then look at any code that might have recursive calls (functions calling themselves, directly or indirectly).

If you know what you were working on when the issue first appeared, look there first.

If you don't think that it was a script issue, try removing all scripts from your objects to be sure (and remove any editor scripts you might have as well). If you don't want to remove scripts from objects, make a copy of the project and remove them there.

Comment
Add comment · Show 1 · 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 MasterKitty · Nov 25, 2011 at 12:35 PM 0
Share

Thing is, i tried that, i changed projects to angrybots but the bug is still there. . . Unity just freezes

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Updating bug, script crash, cant compile script 0 Answers

Why is Unity 4.3 so unstable? 0 Answers

Several Memory Optimization Questions 0 Answers

Unity Editor 5.4 Crashes on TrailRenderer.Clear() 1 Answer


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