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 /
  • Help Room /
avatar image
0
Question by Unitobinator · Oct 18, 2015 at 08:06 PM · visual studiodebuggingremotevisualstudio

Editor attaching stops working

Hi community,

I am using Unity 5.2.1f1 with Visual Studio 2015. I was very happy, when I saw, that Unity can work together with Visual Studio so I set it all up and it works fine. Until a certain point, that is apparently by random, when Unity stops working together with VS. VS thinks everything's fine but Unity doesn't react. Editor Attaching is turned on and Visual Studio 2015 is selected.

I really searched by heart on the internet but either no one has the same problem or I can't describe it properly in the search boxes.

I hope someone can help me.

Regards Unitobinator

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 Statement · Oct 24, 2015 at 06:59 PM 0
Share

Are you doing anything in particular when Unity stops working (hangs? crashes? "stopped working" usually implies the process died)? Things I am thinking about would be changing or autogenerating script causing Unity to compile and reload assemblies... which (I'm totally guessing now) possibly could stop unity from reloading assemblies because the debugger is still connected?

Do you have a less-than-simple project with lots of moving parts, possibly including your own or 3rd party threads running?

Does it stop working on simple projects with just a bunch of normal scripts?

If Unity appear to hang while debugging, does Unity resume working if you detach the debugger or is it borked from that point on?

Lastly, I can only tell you that I've experienced random editor hangups on my workstation on OS X and on my personal Windows 8 monsterbox. They are random, come see$$anonymous$$gly out of the blue, freeze the editor and are in no way dependent on visual studio debugging. Perhaps you had a bad streak with random hangups while you were debugging. It's hard for me to tell how frequently you debug and how frequently you get the hangups.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Statement · Oct 24, 2015 at 07:02 PM

Try upgrading to Unity 5.2.2 as they seem to have made several improvements regarding debugging.

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 Unitobinator · Oct 24, 2015 at 08:32 PM 0
Share

Hi @Statement

thank you so much for your answer

It is a bigger project with lots of Objects and several scripts. The issue is, that I click on the debugger and it starts debugging but Unity doesn't switch to the playing mode so the debugger can't debug anything, even though Attach to Unity and play is clicked. So the two programs just don't communicate with each other. Sorry for not describing my issue properly. The update is running. I'm excited.

avatar image Statement Unitobinator · Oct 24, 2015 at 08:58 PM 0
Share

I updated some hour ago. Had one crash so far after branching in my SC$$anonymous$$.

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

32 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

Related Questions

How to make remote debugging with Visual Studio work? 0 Answers

Visual Studio's 'Attach to Unity' replaced with standard 'Attach...' and will not attach to Unity properly 1 Answer

Open C# Project Opens Windows Explorer 0 Answers

how can i attach visual studio debug under android 2 Answers

Visual Studio has stopped listing my Android device for debugging 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