【发布时间】:2016-11-03 03:09:05
【问题描述】:
这是我第一次使用 Unity Cloud Build。我正在使用带有 SourceTree 的 BitBucket,我也在 GitHub 上尝试过,但我一直收到同样的错误:
错误:无法识别的项目!请检查您的应用程序配置 - 如果这是一个 Unity 应用程序,我们希望您的“项目子目录”设置为直接包含 ProjectSettings 和 Assets 目录的路径。对于原生应用,应设置为直接包含项目文件(.xcodeproj、project.properties 等)的路径。
项目本身很简单,只有一个 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://git@bitbucket.org/jsmccloud/gm_animation_test.git
10: Fetching upstream changes from ssh://git@bitbucket.org/jsmccloud/gm_animation_test.git
11: Fetching upstream changes from ssh://git@bitbucket.org/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
【问题讨论】:
-
你的仓库中是否有项目设置。
-
你的仓库中必须有 assets, projectsetting。
-
是的,我有资产、项目设置和库目录。我基本上将包含我所有项目文件和资产的整个目录拖到了 github 目录中。所以一切都应该在那里。
-
您的项目顶层是否包含资产和项目设置?那就是你没有一个文件夹,然后在里面,需要的文件夹。
-
拖拽是什么意思?你使用 git gui 客户端?