LoginSignup
0

More than 3 years have passed since last update.

UnityにてVSCodeの場合に、UniRx・UniTaskの補完が効かない時の対処

Last updated at Posted at 2020-10-18

UnityでVSCodeを使ってる場合に、UniTaskとUniRxの補完が効かず、半日ぐらいハマって補完が効くようにできたので参考になったページなど。

◇ monoをアンインストールしてインストールすると補完できるようになる
https://unity-yuji.xyz/editor-visual-studio-code-complement/

◇ VSCodeのSettingsで「Omnisharp: Use Global Mono」という項目を「always」
https://unity-yuji.xyz/vscode-unity-omnisharp-netframework-mono/

◇ Visual Studio Code Editor を最新版にUpdate
https://unity-yuji.xyz/unity2019-2-later-vscode-visual-studio-code-dont-open/

◇ プロジェクトファイル、*.csprojが壊れてる時には生成し直す。(今回は関係なかった)
https://qiita.com/honmaaax/items/da39d7b854c39c3ea110


あと、私の場合は、UniRxとUniTaskがパッケージとプラグインの両方に入っていたので、Pluginの方を消してからPackagesの方を再インストールしました。
(Unityのフォルダ)/asset/Plugins ← ここのUniRx、UniTaskを消した。
(Unityのフォルダ)/Packages ← ここのUniRx、UniTaskを再インストール。

(実行環境用に、Buildした時に動くもののエラーが出てたので気がついた。)


環境はUnity 2020.1.9f1でMacにて

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