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

UnityでAI Navigationの項目が見つからない

Posted at

はじめに

UnityのAI Navigationは、エージェント(キャラクターやオブジェクト)がナビゲーションメッシュ(NavMesh)を利用して3D空間を効率的に移動するためのシステムである。これにより、障害物を回避しながら目標地点へ到達するパスが自動的に計算される、ゲームやシミュレーションにてAIによるエージェントの自律挙動を簡単に実装できる。

本記事では、UnityでAI Navigationの項目が見つからない症状を解決する手順を示す。

環境

本記事で示すUnityエディタのバージョンは2022.3.23.f1である。

症状

[Window > AI > Navigation]が見当たらない

スクリーンショット 2024-02-04 140257.png

原因

標準機能として廃止されたためとされている。

解決策

Package Managerを使ってインストールする。

手順

Unityでパッケージマネージャを開く。
スクリーンショット 2024-02-04 140334.png

パッケージの範囲を[プロジェクト内]から[Unity レジストリ]に変更する。

スクリーンショット 2024-02-04 140354.png

[AI Navigation]を選択して、[インストール]をクリックする。

スクリーンショット 2024-02-04 140404.png

[Window > AI > Navigation]を確認できるようになる。

スクリーンショット 2024-02-04 140716.png

参考

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?