SteamVR
天宇琪云
专注机器视觉,数字孪生,工业物联网
展开
-
ArgumentException: An item with the same key has already been added. Key: UnityEditor.Scripting.Scri
Unity3D导入SteamVR插件报错:ArgumentException: An item with the same key has already been added. Key: UnityEditor.Scripting.ScriptCompilation.ScriptAssembly System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collection原创 2021-04-03 20:47:15 · 4647 阅读 · 0 评论 -
Assets/VRTK/Scripts/Interactions/Highlighters/VRTK_MaterialColorSwapHighlighter.cs(146,66): error CS
SteamVR和VRTK导入报错:Assets/VRTK/Scripts/Interactions/Highlighters/VRTK_MaterialColorSwapHighlighter.cs(146,66): error CS0122: `UnityEngine.Texture.Texture()’ is inaccessible due to its protection level解决办法:1.将 new Texture()那一行注释掉2.将new Texture()改为new Text原创 2021-04-03 20:36:01 · 392 阅读 · 0 评论 -
VRTK与SteamVR版本对应问题
Unity进行VR项目开发时候经常使用的插件为VRTK,现在商店中对应的VRTK版本为V3.3.0,对应SteamVR版本V1.2.3VRTKv3.3不支持SteamVR2,好多小伙伴可能没有注意,之间在商店进行下载使用,会发现,有一些案例,尤其是VRTK中老版本的40多个案例没有办法运行,原因就是版本不对应。SteamVR 2 plugin is not officially supported in VRTK v3.3 - There is a community fork that support原创 2021-02-12 17:34:20 · 1896 阅读 · 1 评论 -
SteamVR 提示GUI已过时报错的修改方法
1.SteamVR 导入Unity后报错:Assets\SteamVR\Scripts\SteamVR_Stats.cs(12,9): error CS0619:‘GUIText’ is obsolete: 'GUIText has been removed. Use UI.Text instead.'修改方法是:使用UI->Text 必须要增加头文件 UnityEngine.UI;增加头文件后修改报错行中的“GUIText”为“Text”,最终如下所示。//========= Copyright原创 2021-02-11 16:16:14 · 1823 阅读 · 0 评论