# 認識されないプロジェクトエラー

> Resolve unrecognized project errors in Unity Build Automation and configure project paths correctly.

## 事象##symptom

ビルドが以下のエラーで失敗します。

```text
[error] Error: unrecognized project! Please check your app configuration - if this is a Unity application, We expect your "Project Subdirectory" to be set to the path which directly contains the ProjectSettings and Assets directories. For a native app, this should be set to the path which directly contains the project file (.xcodeproj, project.properties, etc).
```

## 原因##cause

Unity Build Automation は Unity プロジェクトのビルドのみをサポートします。このエラーの最も一般的な原因は、`ProjectSettings` フォルダーと `Assets` フォルダーが、ソースコードリポジトリまたはリポジトリ内の Unity Build Automation のターゲットフォルダーのサブディレクトリにある場合です。

## 解決方法##resolution

プロジェクトが Unity プロジェクトであるもののサブディレクトリにある場合は、新しいターゲットを作成し、プロジェクトのサブディレクトリパスの名前を定義できます。これにより、Unity Build Automation はビルドする必要があるプロジェクトのこのサブディレクトリの外観を確認します。

[Unity Dashboard](https://cloud.unity.com/home/organizations/default/projects/default/devops/overview) でターゲットを変更するには、次の手順に従います。

1. **Build Automation** > **Configurations** (設定) を選択します。
2. 編集するビルドの Edit (編集) ボタンを選択します。
3. **Basic settings** (基本設定) タブでターゲットを編集します。


**UBA - プロジェクトのサブディレクトリ:**
!["UBA - プロジェクトのサブディレクトリ"](/api/media?file=/build-automation/media/images/build-automation/project-subdirectory.png "UBA - プロジェクトのサブディレクトリ")

## 追加リソース##additional-resource

* Unity Build Automation の今後については、[Unity DevOps ロードマップ](https://unity.com/roadmap/devops) を参照してください。
