Unity3D 云构建失败,播放器导出失败
Unity3D cloud build failing with Player export failed
这很奇怪。 Android 和 iOS 构建失败并显示几乎相同的消息。完整日志中未显示任何错误。最接近错误的是我在下面添加的内容。我相信一旦我们在 Facebook SDK 中添加构建就停止工作了(这就是为什么我包括了关于 FacebookSettings 的行)但是在签入中做了很多更改,很难确定。
下面的 Player export failed 是唯一一条红色线。
我认为 MissingMethodException 是原因,但这并没有显示为错误。
构建已经坏了好几天了,这真的非常糟糕。
201: [Unity] Script attached to 'FacebookSettings' in scene '' is missing or no valid script is attached.
202: [Unity] WARNING: PVRTC texture format is not supported, decompressing texture
203: [Unity] WARNING: PVRTC texture format is not supported, decompressing texture
204: [Unity] UnityEngine.Debug:LogWarning(Object)
205: [Unity] MissingMethodException: Method not found: 'UnityEditor.PlayerSettings.get_applicationIdentifier'.
206: [Unity] Player export failed. Reason: PostProcessBuild callback threw exception
207: ! build of 'default-ios' failed. compile failed
208: publishing finished successfully.
209: Finished: FAILURE
提前致谢。
原来问题出在云端的构建版本上。构建设置为使用最新的 5.5,但项目已升级到 5.6。将云构建改为使用Latest 5.6后,构建成功
这很奇怪。 Android 和 iOS 构建失败并显示几乎相同的消息。完整日志中未显示任何错误。最接近错误的是我在下面添加的内容。我相信一旦我们在 Facebook SDK 中添加构建就停止工作了(这就是为什么我包括了关于 FacebookSettings 的行)但是在签入中做了很多更改,很难确定。
下面的 Player export failed 是唯一一条红色线。 我认为 MissingMethodException 是原因,但这并没有显示为错误。
构建已经坏了好几天了,这真的非常糟糕。
201: [Unity] Script attached to 'FacebookSettings' in scene '' is missing or no valid script is attached. 202: [Unity] WARNING: PVRTC texture format is not supported, decompressing texture 203: [Unity] WARNING: PVRTC texture format is not supported, decompressing texture 204: [Unity] UnityEngine.Debug:LogWarning(Object) 205: [Unity] MissingMethodException: Method not found: 'UnityEditor.PlayerSettings.get_applicationIdentifier'. 206: [Unity] Player export failed. Reason: PostProcessBuild callback threw exception 207: ! build of 'default-ios' failed. compile failed 208: publishing finished successfully. 209: Finished: FAILURE
提前致谢。
原来问题出在云端的构建版本上。构建设置为使用最新的 5.5,但项目已升级到 5.6。将云构建改为使用Latest 5.6后,构建成功