2016-06-30 9 views
1

Dies ist das erste Mal, dass ich Unity Cloud Build verwende. Ich verwende BitBucket mit SourceTree, ich habe versucht, es auch mit GitHub, aber ich bekomme immer wieder den gleichen Fehler:Unity Cloud Build: Fehler: Unbekanntes Projekt

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

Das Projekt selbst ist einfach, nur ein 3D-Charakter-Modell und eine grundlegende Spaziergang Animation nur zu stellen Sie sicher, dass die Dinge minimal waren. Wenn jemand helfen könnte, wäre das großartig!

Hier ist das vollständige Protokoll.

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

Gibt es eine Projekteinstellung in Ihrem Repo. – tim

+0

Sie müssen * assests, projectsetting * in Ihrem Repo haben. – tim

+0

Ja, ich habe Assets, Projekteinstellungen und Bibliotheksverzeichnisse. Ich zog im Grunde das gesamte Verzeichnis, das alle meine Projektdateien und Assets enthielt, in das github-Verzeichnis. Also sollte alles da sein. –

Antwort

1

Dies ist, wie ich das Problem behoben:

In meinem Unity-Projekt Ich habe die folgenden Einstellungen: Unter Bearbeiten> Projekteinstellungen> Editor

Set Version Control-Modus sichtbar Meta Files Asset-Serialisierungsmodus einstellen, um Text zu erzwingen

Projekt speichern und Unity schließen. Anscheinend habe ich Unity geöffnet gelassen, als ich meine Dateien in mein Repo-Verzeichnis kopiert habe.

Alles scheint jetzt gut zu funktionieren.