Unity - A计划(一年有效期) 扫二维码继续学习 二维码时效为半小时

(61评价)
价格: 2155.00元
学习VRTK插件功能全掌握(Htc Vive)课程的时候遇到的问题
鱼乐鱼乐发起了话题2020-05-17
1
回复
1357
浏览
  1. 导入steam vr1.2.3和VRTK3.3.0时报错,使用的是老师提供的插件,用的UNITY版本与老师课程里一样的2018.1.0.F

      2. 已经换了好几个版本了,错误无法解决

      3.为什么我与老师课程内容里操作完全一样还会报错尼?是不是还需要设置什么。

      4.我不想用更低的版本了因为要用到TIMELINE,请老师说下哪个本能兼容

 

一,
//导入steam vr1.2.3时错误提示有以下两种
Cannot set VR devices because the platform passed isn't supported by Unity.//第一个

Assets/SteamVR/Editor/SteamVR_Settings.cs(76,20): warning CS0618: `UnityEditor.PlayerSettings.defaultIsFullScreen' is obsolete: `defaultIsFullScreen is deprecated, use fullScreenMode instead'//这第二个

错误代码行是:
if (GUILayout.Button(string.Format(useRecommended, recommended_FullscreenMode)))
			{
				PlayerSettings.d3d11FullscreenMode = recommended_FullscreenMode;
			}//提示plasyersettings类已经弃用


二,
//导入VRTK3.3.0时错误提示为:
You are trying to import an asset which contains a global game manager. This is not allowed.
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


  1.  
所有回复
发表回复
你还没有登录,请先 登录或 注册!