LoginSignup
6
3

More than 5 years have passed since last update.

Unityでスクリプトを開くたびに、別のVisualStudio(VS)エディタが起動する問題

Last updated at Posted at 2018-11-22

以下の内容の和訳と個人的解説つきです
https://answers.unity.com/questions/1078859/unity-keeps-opening-new-instances-of-microsoft-vis.html


原因は不明ですが、UnityのProject上からスクリプトを開く際に、すでにVisualStudioのエディタが開いているにもかかわらず、新しいエディタが開かれるということがありました

対処法は、今使用しているプロジェクトのあるフォルダに移行し.csproj.slnの二つの拡張子のファイルを削除します
https://gyazo.com/b307ee8da1328f2f67462687701e6a18
この画像の下3つのファイルです
これらのファイルは、再度UnityでVSを開くと自動的に作成されます

その後Unityエディタを開きなおし、スクリプトをVSで開くと治っていると思います

6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3