问答详情
源自:4-2 编译生成Android APK文件

导出android apk文件,出错

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


提问者:慕粉074517613 2018-05-25 22:10

个回答