1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[Unity] WindowsからMacに移行したらVisual Studio Codeが開かなくなった時の対処法(備忘録)

Last updated at Posted at 2022-03-18

現象

WindowsからMacBookAirに新しく買い替えて、unityでゲーム開発をしようとしたら、unityからvisual studioが開けず、visual studioから開こうとするとエラー?が出る

出てたエラーは以下の画像

qiitaqiita.png

結論:とりあえずunity関連のものを全て再インストールしたら直った

試したこと

①unityの Package Managerからvisual studio Editorの設定を見直してみる

参考記事→Unity2020 でスクリプトをVisualSutudioで開けない問題の解消

結果⇨参考記事通りに進めるとunityからは問題なく開けるようになったが、エラー文は消えない

②visual studio code editorのパッケージを最新にアップデートする
[Window]/[Package Manager]を開いて、「Visual Studio Code Editor」と「Visual Studio Editor」の両方をアップデートする

参考記事→UnityからスクリプトをVisual studioで開いてもコードが表示されない

結果⇨最新バージョンだったから意味なし

③visual studioをアンインストールして、もう一回設定し直してみる
結果⇨更なる問題が、、、
スクリーンショット 2022-03-18 15.59.38.png

④上記の問題を解決。(インストールとエラー、再度インストールを繰り返す、、、)

参考記事→Visual Studio for Mac のインストーラーで、インストール中にエラーが発生した時の対処方法(System.Net.WebException)

結果⇨インストーラーしか入らず、アプリケーションファイルからクリックして開くと謎の表示に飛び、適当にボタンぽちぽちしてたら意味わからんサイトに飛んだ
スクリーンショット 2022-03-18 16.29.28.png
スクリーンショット 2022-03-18 16.29.02.png
怪しそうだったのでダウンロードはしなかった💦

⑤もう一度visual studioに関するものを消して再度インストールしなおす
結果⇨振り出しに戻る

⑥unity関連全て再インストール
結果⇨でけた

以上!!!!!

1
0
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?