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
1
Question by jcox_PlayQ · Jun 22, 2016 at 06:00 AM · visual studiodebugdebuggingvisualstudiodebugger

Visual Studio 2015 debugger can no longer attach to Unity after installing RC3

I was using Visual Studio 2015 Community Edition with Unity 5.4(beta 13) (Windows 10) when I foolishly decided to emulate my technical director and install RC3 for Visual Studio. My tech director had no problems when he did so, but after I did the upgrade, the VS debugger will no longer attach to Unity.

If I click the Attach to Unity button, it thinks for a moment, then fails to attach and the Attach to Unity button lights up again. The Plug icon on the lower right gets a little green checkmark as if it has attached (usually.... sometimes the plug icon doesn't appear at all). Using Netstat to look at the port that VS is trying to attach to shows it as still Listening. Monodevelop is able to attach and debug just fine.

To head off the expected advice, I have done all the obvious. I have uninstalled both VS and Unity and reinstalled them following the documentation here. I have repeated the uninstalls and reinstalls with various version permutations of Unity (latest 5.3, 5.4b13, 5.4b21, 5.4b22) and VS (Community, Professional, Enterprise). I have uninstalled Visual Studio Tools for Unity and reinstalled using the installer from the link above and by installing a second version of Unity on the same machine. I have also run Repair operations through VS and the VSTU installers. I have confirmed that my firewall settings allow incoming connections for VS and Unity, and even tried turning of the firewall completely. I have run both programs as an Administrator and not. Through each iteration of these attempts I have verified that the Unity->About page shows the tools as having been installed, verified that the build setting are set for debugging, have launched VS from Unity, etc.

Can anyone recommend something else I can tweak or investigate?

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 kisva · Jun 22, 2016 at 09:00 AM 0
Share

I have this problem too!

avatar image jorjdboss kisva · Aug 26, 2016 at 08:42 PM 0
Share

Have you tried this: http://stackoverflow.com/a/37826299

$$anonymous$$ay not be a possible solution, but have you tried switching the development build option http://answers.unity3d.com/answers/1235198/view.html

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by jcox_PlayQ · Aug 29, 2016 at 07:42 PM

So I finally fixed this last weekend with the nuclear option; I did a wholesale reset of my Windows 10 installation, re-installed all my apps, and now my VS debugger attaches again.

@jordboss: I had tried setting the development build flag. I had not tried uninstalling XamarinVS as suggested in your first link. I un- and re-installed VS so many times I am not sure what states XamarinVS might have been in at which times during this process, but it is quite possible that my Windows 10 re-install worked simply because it nuked XamarinVS as a by-product.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Use Visual Studio to debug Unity. Cannot connect to process 2 Answers

Editing code in debug mode? 2 Answers

Monodevelop and Visual Studio 2015 debugger skips frames 0 Answers

How do you get OutputDebugString to show up in the Visual Studio output window? 0 Answers

How do you Debug Unity Player Builds? 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