我统一创建一个新的VR项目,保持其清洁,设置播放器设置并进行构建。甚至什么都没有。它仍然崩溃,并返回到VR主屏幕。
这是一些日志
07-08 16:42:40.560 21725 21746 I Unity:Unity v2017.4.9f1,Oculus Utilities v1.30.0,OVRPlugin v1.30.1,SDK v1.1.16.0。 07-08 16:42:40.560 21725 21746 I Unity: 07-08 16:42:40.560 21725 21746 I Unity:(文件名:/Users/builduser/buildslave/unity/build/artifacts/Generated/common/runtime/DebugBindings.gen.cpp行:51) 07-08 16:42:40.560 21725 21746 I Unity: 07-08 16:42:40.708 21725 21756 E Unity:OPENGL原生插件错误:GL_INVALID_ENUM:枚举参数超出范围 07-08 16:42:40.708 21725 21756 E Unity: 07-08 16:42:40.708 21725 21756 E Unity:(文件名:/Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp行:340) 07-08 16:42:40.708 21725 21756 E Unity: 07-08 16:42:42.359 21725 21815 W Unity:缺少此行为的引用脚本! 07-08 16:42:42.359 21725 21815 W Unity: 07-08 16:42:42.359 21725 21815 W Unity:(文件名:行:1515) 07-08 16:42:42.359 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 W Unity:此行为(游戏对象“ GvrControllerMain”)上引用的脚本丢失了! 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 W Unity:(文件名:线:1758) 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 W Unity:此行为(游戏对象“ EditorController”)上引用的脚本丢失了! 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 W Unity:(文件名:线:1758) 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 E Unity:加载时,脚本行为(可能是EditorControllerInput?)具有不同的序列化布局。 (读取32个字节,但预期为80个字节) 07-08 16:42:42.363 21725 21815 E Unity:您是否在任何脚本中#ifdef UNITY_EDITOR序列化属性的一部分? 07-08 16:42:42.363 21725 21815 E Unity: 07-08 16:42:42.363 21725 21815 E Unity:(文件名:行:1922) 07-08 16:42:42.363 21725 21815 E Unity: 07-08 16:42:42.363 21725 21815 W Unity:此行为(游戏对象“ GvrControllerPointer”)上引用的脚本丢失了! 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.363 21725 21815 W Unity:(文件名:线:1758) 07-08 16:42:42.363 21725 21815 W Unity: 07-08 16:42:42.364 21725 21815 W Unity:此行为(游戏对象“ ControllerVisual”)上的引用脚本丢失了! 07-08 16:42:42.364 21725 21815 W Unity: 07-08 16:42:42.364 21725 21815 W Unity:(文件名:线:1758) 07-08 16:42:42.364 21725 21815 W Unity: 07-08 16:42:42.365 21725 21815 W Unity:此行为(游戏对象“ GvrControllerPointer”)上引用的脚本丢失了! 07-08 16:42:42.365 21725 21815 W Unity: 07-08 16:42:42.365 21725 21815 W Unity:(文件名:线:1758) 07-08 16:42:42.365 21725 21815 W Unity: 07-08 16:42:42.695 21725 21746 E Unity:NullReferenceException:对象引用未设置为对象的实例 07-08 16:42:42.695 21725 21746 E Unity:位于CurvedUI.CurvedUIRaycaster.RebuildCollider()[0x00000] in:0 07-08 16:42:42.695 21725 21746 E Unity:位于CurvedUI.CurvedUISettings.set_BlocksRaycasts(布尔值)[0x00000],位于:0中 07-08 16:42:42.695 21725 21746 E Unity:在IntroController.ToggleIntroCanvas(布尔值)[0x00000]在:0中 07-08 16:42:42.695 21725 21746 E Unity:在IntroController.Awake()[0x00000]在:0中 07-08 16:42:42.695 21725 21746 E Unity: