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 N-Dream-AG · Jul 18, 2016 at 06:30 PM · editorcrashcrashingbugsbug report

Editor quits/crashes if it's paused and I switch to another application - What else can I do?

My editor randomly crahes/quits whenever I switch to another application. The following happens (every single time):

  1. I press play in the editor

  2. I pause the editor after some time

  3. I switch over to MonoDevelop to look at my code, either by clicking the app in the dock, by using cmd+tab or by double clicking on a log message in the editor's console

  4. The editor closes itself. There is no error message, no freezing, no option to send a crash report, it's just closed as if I'd pressed 'Quit'.

It does NOT happen when the editor is running or fully stopped, only when paused. It happens regardless of which other application I switch to.

This issue has come up last Friday seemingly out of nothing, I didn't update the editor or OS and don't recall changing anything else.

Since then, I've reinstalled Unity, restarted my computer and tried downloading the newest patch release of Unity, all to no avail.

What else can I do?

OS X 10.10.5
Editor Versions 5.3.5f1 and 5.3.5p8

Comment
Add comment · Show 1
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 Adamcbrz · Jul 19, 2016 at 01:48 PM 0
Share

You might still want to check the editor/player logs. It could be the crash is so sudden that it isn't generating the bug report. http://docs.unity3d.com/$$anonymous$$anual/LogFikes.html

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by N-Dream-AG · Jul 19, 2016 at 04:02 PM

Found it: the error was caused by my own Plugin.

We use this

 void OnApplicationPause(bool pauseStatus){
             if (pauseStatus) {
                 System.Diagnostics.Process.GetCurrentProcess().Kill();
             }
         }

on AndroidTV so the app restarts after it's minimized. I had forgotten to add the #if !UNITY_EDITOR preprocessor, causing the Editor to kill itself

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

[Resolved] Unity crashes when clicking on Gizmos in the Scene window 2 Answers

Unity 2019.03 crashes when launched 0 Answers

Debugging and logging crashing? 1 Answer

Editor Crash : nvwgf2um.dll caused an Access Violation 0 Answers

Unity Editor Crashes Upon Startup 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