Symptoms
- My build is failing with the error:
[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
While we currently only support building Unity Projects, the most common cause for this error is when the ProjectSettings and Assets folders are contained within a sub-directory of the folder targeted by Unity Build Automation in your source code repository, or your repository.
Resolution
- At this time, only Unity Projects can be built in Unity Build Automation.
- If your project is a Unity Project but is contained in a subdirectory, you can create a new target and define the name of the Project subfolder path. Build Automation will then know to look in this SubDirectory for the project it needs to build. This setting can be found in the build target's basic configuration tab.
More Information