Visual Studio loses ability to attach to Unity, why?Using Git with Visual Studio.gitignore for Visual Studio Projects and SolutionsThe breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight applicationDifference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?Writing to output window of Visual Studio?How do I fix the Visual Studio compile error, “mismatch between processor architecture”?Can you force Visual Studio to always run as an Administrator in Windows 8?Visual Studio debugging/loading very slowWhy does visual studio 2012 not find my tests?Visual Studio Debugger not attaching to Unity
What's the point of DHS warning passengers about Manila airport?
Zombie diet, why humans?
Should I include salary information on my CV?
Symbol for "not absolutely continuous" in Latex
Three column layout
Is there a short way to check uniqueness of values without using 'if' and multiple 'and's?
Bash echo $-1 prints hb1. Why?
Going to get married soon, should I do it on Dec 31 or Jan 1?
Analog is Obtuse!
Why is the Turkish president's surname spelt in Russian as Эрдоган, with г?
Are there any vegetarian astronauts?
Was "I have the farts, again" broadcast from the Moon to the whole world?
Dual statement category theory
How to modify the uneven space between separate loop cuts, while they are already cut?
How to write or read powers (math) by words?
SPI Waveform on Raspberry Pi Not clean and I'm wondering why
Should I hide continue button until tasks are completed?
Is there any set of 2-6 notes that doesn't have a chord name?
Intuitively, why does putting capacitors in series decrease the equivalent capacitance?
Should I tell my insurance company I have an unsecured loan for my new car?
What happens when your group is victim of a surprise attack but you can't be surprised?
How do I find and plot the intersection of these three surfaces?
can’t run a function against EXEC
How come I was asked by a CBP officer why I was in the US when leaving?
Visual Studio loses ability to attach to Unity, why?
Using Git with Visual Studio.gitignore for Visual Studio Projects and SolutionsThe breakpoint will not currently be hit. No symbols have been loaded for this document in a Silverlight applicationDifference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?Writing to output window of Visual Studio?How do I fix the Visual Studio compile error, “mismatch between processor architecture”?Can you force Visual Studio to always run as an Administrator in Windows 8?Visual Studio debugging/loading very slowWhy does visual studio 2012 not find my tests?Visual Studio Debugger not attaching to Unity
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity.
I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour.
There are some parameters that might have an effect:
- it happens only for some Unity projects: a project is either "infected" or it happens never (on my watch)
- if it starts happening it will always happen until I reboot the PC (closing VS and Unity is not enough)
Thank you
c# visual-studio debugging unity3d visual-studio-debugging
add a comment |
I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity.
I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour.
There are some parameters that might have an effect:
- it happens only for some Unity projects: a project is either "infected" or it happens never (on my watch)
- if it starts happening it will always happen until I reboot the PC (closing VS and Unity is not enough)
Thank you
c# visual-studio debugging unity3d visual-studio-debugging
add a comment |
I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity.
I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour.
There are some parameters that might have an effect:
- it happens only for some Unity projects: a project is either "infected" or it happens never (on my watch)
- if it starts happening it will always happen until I reboot the PC (closing VS and Unity is not enough)
Thank you
c# visual-studio debugging unity3d visual-studio-debugging
I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity.
I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour.
There are some parameters that might have an effect:
- it happens only for some Unity projects: a project is either "infected" or it happens never (on my watch)
- if it starts happening it will always happen until I reboot the PC (closing VS and Unity is not enough)
Thank you
c# visual-studio debugging unity3d visual-studio-debugging
c# visual-studio debugging unity3d visual-studio-debugging
asked Mar 25 at 11:47
Benjamin ZachBenjamin Zach
799 bronze badges
799 bronze badges
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.
Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
add a comment |
I had a similar issue, underneath the file tabs does it say miscellaneous files? To fix it I right clicked the Assembly C-Sharp in the solution explorer and rebuilt the project as shown in the picture.
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
add a comment |
I had this issue once, what fixed it for me was reconnecting Visual Studio to Unity Edit > Preferences > External Tools > External Script Editor
Also check the correct version of Visual Studio is listed there.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337121%2fvisual-studio-loses-ability-to-attach-to-unity-why%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.
Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
add a comment |
Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.
Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
add a comment |
Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.
Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"
Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.
Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"
answered Mar 25 at 13:45
BugFinderBugFinder
14.2k2 gold badges30 silver badges46 bronze badges
14.2k2 gold badges30 silver badges46 bronze badges
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
add a comment |
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
I updated VS; so far it did not happen. I will mark your answer with reservation it won't happen anymore.
– Benjamin Zach
Mar 27 at 15:35
add a comment |
I had a similar issue, underneath the file tabs does it say miscellaneous files? To fix it I right clicked the Assembly C-Sharp in the solution explorer and rebuilt the project as shown in the picture.
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
add a comment |
I had a similar issue, underneath the file tabs does it say miscellaneous files? To fix it I right clicked the Assembly C-Sharp in the solution explorer and rebuilt the project as shown in the picture.
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
add a comment |
I had a similar issue, underneath the file tabs does it say miscellaneous files? To fix it I right clicked the Assembly C-Sharp in the solution explorer and rebuilt the project as shown in the picture.
I had a similar issue, underneath the file tabs does it say miscellaneous files? To fix it I right clicked the Assembly C-Sharp in the solution explorer and rebuilt the project as shown in the picture.
answered Mar 25 at 12:54
JamblaJambla
638 bronze badges
638 bronze badges
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
add a comment |
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
1
1
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
Rebuilding the solution or the project does not resolve the problem
– Benjamin Zach
Mar 25 at 14:32
add a comment |
I had this issue once, what fixed it for me was reconnecting Visual Studio to Unity Edit > Preferences > External Tools > External Script Editor
Also check the correct version of Visual Studio is listed there.
add a comment |
I had this issue once, what fixed it for me was reconnecting Visual Studio to Unity Edit > Preferences > External Tools > External Script Editor
Also check the correct version of Visual Studio is listed there.
add a comment |
I had this issue once, what fixed it for me was reconnecting Visual Studio to Unity Edit > Preferences > External Tools > External Script Editor
Also check the correct version of Visual Studio is listed there.
I had this issue once, what fixed it for me was reconnecting Visual Studio to Unity Edit > Preferences > External Tools > External Script Editor
Also check the correct version of Visual Studio is listed there.
answered Mar 25 at 15:14
HoloLadyHoloLady
9421 gold badge8 silver badges25 bronze badges
9421 gold badge8 silver badges25 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337121%2fvisual-studio-loses-ability-to-attach-to-unity-why%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown