LoginSignup
0
0

More than 1 year has passed since last update.

UnityでVisualStudioのアタッチが外れた(ビルドができない)時の対処法

Posted at

結論

Edit->Preferences->External ToolsのExTernal Script EditorをVisualStudioにセット

それでも無理ならExternal Toolsの下の方にあるRegenerate project filesを押し
プロジェクト内の.vsファイルを削除

スクリーンショット 2022-04-16 213840.png

参考記事

なぜ急にアタッチが出来なくなるのか

わかりません。
別のC++プロジェクトを開いたままUnity立ち上げてC#を変更しようとしたら起きてた:frowning2:
変更しようとしてたのは、Standard AssetsのCarAIControllerってスクリプト。
using System;が、勝手に Unity using Systemに書き換えられてたのもあやしい。
それが原因だとは思えないけど...

Unity再起動したら、SafeModeで起動してとか、プロジェクト破損するかもよーって出てきてめっちゃ焦った(笑)
作業進まないからignoreで進めたけど、特に変わったところはなさそう!責任はとれない。

0
0
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
0
0