• 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
Question by lolwut123 · Dec 13, 2016 at 11:48 PM · editorplayplaymodecrasheshang

Editor hangs (freezes) after pressing play. Possible loop? Have to force quit.

I've never had to deal with this before, whenever I press play in my editor the project will hang until I forcefully quit Unity through task manager. Even when I run a build of the project the application will crash within the splash screen. I've read this could be a "loop" occurring but don't fully understand how to know how to fix it.

The project uses Photon PUN and is set up for multiplayer.

Here's the compiler text from the editor log: https://gist.github.com/anonymous/bd7c16a408a60fe3b9719343db43c07d

I'd absolutely appreciate some help on this! I've been stuck on this problem and just now feel I should ask for help, if you need anymore information I will respond ASAP.

Thanks in advanced!

edit* I fixed it. It had to do with developmental mode being switched off and the lobby scene not being a reference but even than it's really laggy...

Comment

People who like this

0 Show 3
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 ThanosTheMadMan · Nov 25, 2021 at 03:20 PM 0
Share

I don't quite understand the fix. I have the same problem. Could you elaborate a little more about what you did to fix it?

avatar image MilitaryG · Nov 25, 2021 at 09:52 PM 0
Share

You propably have infinity loop

avatar image ThanosTheMadMan MilitaryG · Nov 26, 2021 at 12:06 AM 0
Share

I don't have infinite loop. Sometimes it does and sometimes it doesn't do it and I don't change the code at all.

1 Reply

  • Sort: 
avatar image

Answer by DefineDoddy · Jan 12, 2020 at 06:28 PM

Try taking a look at this: https://forum.unity.com/threads/2017-2f1-editor-randomly-freezes-when-pressing-play.497323/

Comment

People who like this

0 Show 0 · 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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta on June 13. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

96 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

Related Questions

How to enter play mode on two separate Unity instances at the same time? 1 Answer

Unity Editor is not displayed 1 Answer

Unity editor got hang after put some code in camera and click play 0 Answers

Editor takes a long time to Enter Play Mode and does not build after Windows Update 0 Answers

5.3 Unity Editor Freeze on First Play 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