导出android apk文件,出错

来源:4-2 编译生成Android APK文件

慕粉074517613

2018-05-25 22:10

OnLevelWasLoaded was found on VuforiaBehaviour

This message has been deprecated and will be removed in a later version of Unity.

Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed

Build completed with a result of 'Failed'

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors

  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:182 

  at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:89 

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Assets/Vuforia/Scripts/Internal/WSAUnityPlayer.cs(125,74): warning CS0618: `UnityEngine.ScreenOrientation.Unknown' is obsolete: `Enum member Unknown has been deprecated.'

Assets/Vuforia/Scripts/Utilities/VRIntegrationHelper.cs(100,30): warning CS0618: `UnityEngine.Camera.SetStereoProjectionMatrices(UnityEngine.Matrix4x4, UnityEngine.Matrix4x4)' is obsolete: `Camera.SetStereoProjectionMatrices has been deprecated. Use SetStereoProjectionMatrix(StereoscopicEye eye) instead.'

Assets/Vuforia/Editor/Scripts/ExtensionImport.cs(143,41): warning CS0618: `UnityEditor.EditorUserBuildSettings.wsaSDK' is obsolete: `EditorUserBuildSettings.wsaSDK is obsolete and has no effect.It will be removed in a subsequent Unity release.'


写回答 关注

1回答

带你开发类似Pokemon Go的AR游戏

用 Unity 3D开发AR游戏,分有卡和脱卡两种情况,并导出Android和iOS平台

29395 学习 · 220 问题

查看课程

相似问题