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
1
Question by Brittle-Cornflakes · May 22, 2016 at 01:50 AM · unity 5unity5visual studiovisualstudio

Visual Studio not working correctly with Unity

I'm very new to Unity so bare with me.

It seems like Visual Studio isn't working as intended with Unity for me. When I double-click on a script, VS opens up just fine, but

  • I'm supposed to be able to see a "Attach to Unity" button in the middle of the VS dashboard, but there's only the "Attach..." button.

  • There isn't a Build context menu (you know File, Edit, View) which I'm supposed to see.

  • In the Unity context menus Assets -> Import Package there's supposed to be a Import Visual Studio option, but there's nothing.

This may seem minor, but it's really hard to find errors if I can't build and debug my game. I have tried reinstalling both VS and Unity but it doesn't work. What's going on?

Comment
Add comment · Show 4
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 corn · May 22, 2016 at 07:24 AM 0
Share

Did you generate your solution with Unity ? (Assets -> Open C# Project)

avatar image Brittle-Cornflakes · May 22, 2016 at 08:59 AM 0
Share

@corn No, but I have now. Didn't work.

avatar image corn Brittle-Cornflakes · May 22, 2016 at 09:03 AM 0
Share

@Brittle-Cornflakes Did you check the $$anonymous$$icrosoft Visual Studio Tools for Unity in the download assistant when you installed Unity ?

avatar image Brittle-Cornflakes corn · May 22, 2016 at 11:07 AM 0
Share

@corn Yes! Not the first time, but when I reinstalled VS I did.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Jason-Olsan-Glu · Jun 15, 2016 at 06:56 PM

If you have Xamarin on your system, the most current version of Xamarin is blocking attachment to the debugger. Removing it for me allowed the debugger to attach again. The VSTU team is aware of it and working on a fix. :)

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 Brittle-Cornflakes · Jun 15, 2016 at 07:19 PM 0
Share

Thanks, but unfortunately no, I don't have Xamarin on my system.

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

7 People are following this question.

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

Related Questions

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

Using VS2015 with Unity, cannot open documentation: (Unity API Reference) which is not currently available 3 Answers

Unity 5+ compatibility with VS2012 - ? 0 Answers

Variable not updating/saving ! 1 Answer

Properly attach to a GameObject after collision? 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