2016-06-30 3 views
1

Это мой первый опыт использования Unity Cloud Build. Я использую Bitbucket с SourceTree, я также пробовал с GitHub, но я получаю ту же ошибку:Unity Cloud Build: Error: Unrecognized Project

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).

Сам проект является простой, только один 3d модель персонажа и основная прогулка анимации просто убедитесь, что все было как минимум. Если бы кто-нибудь мог помочь, это было бы здорово!

Полный журнал.

1: Running Prebuild steps 
2: Removing bvr 
3: Successfully uninstalled bvr-1.2.11 
4: 1 gem installed 
5: done. 
6: bvr 1.2.12 
7: bvr-api 0.2.4 
8: Cloning the remote Git repository 
9: Cloning repository ssh://[email protected]/jsmccloud/gm_animation_test.git 
10: Fetching upstream changes from ssh://[email protected]/jsmccloud/gm_animation_test.git 
11: Fetching upstream changes from ssh://[email protected]/jsmccloud/gm_animation_test.git 
12: Checking out Revision d84217f8e82b1bedcd64256ae88a38b9226beb9b (refs/remotes/origin/master) 
13: First time build. Skipping changelog. 
14: Calculated Workspace Size: 308.73 MiB 
15: PATH    | SIZE  
16: /GM_Animation_Test | 308.73 MiB 
17: postcheckoutstatus finished successfully. 
18: 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). 
19: Build step 'Execute shell' marked build as failure 
20: postbuildstatus finished successfully. 
21: Finished: FAILURE 
+0

Есть ли настройка проекта, в вашем репо. – tim

+0

Вы должны иметь * assests, projectsetting * в своем репо. – tim

+0

Да, у меня есть активы, проекты и справочники библиотек. Я в основном перетащил весь каталог, содержащий все мои файлы проекта и активы в каталог github. Так что все должно быть там. –

ответ

1

Это, как я исправил проблему:

В моем проекте Unity я поставил следующие настройки: в Правка> Настройки проекта> Редактор

Установить режим управления версиями Видимый Meta Files Установите режим Serialization Asset для форсирования текста

Сохранить проект и закрыть Unity. Очевидно, оставив Unity открытым, когда я копировал свои файлы в мой каталог репо, возникли проблемы.

Теперь все работает нормально.