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
This error is caused 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/branch is not a valid Unity project.
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.
Comments
2 comments
What if the folder name has spaces?
Having whitespace in the name of the folder shouldn't cause the error, is this the issue you are experiencing?
If so, please open a support ticket at the bottom of the page below:
https://developer.cloud.unity3d.com/support/
Article is closed for comments.