Warning与error直扑而来XDD
蛮头痛的,我目前遇到的有两个问题被回报为Bug。
简单来说,我现在的目标是让HMD Mock可以顺利地在没有头盔的情况下,模拟VR的操作输入。
Mac 10.15.5
Unity 2020.3.14f1
Mock HMD Loader
*1
Preset Manager: Preset XRI Default Left/Right Controller
,并分别加入Left/Right
FilterOther Settings > Configuration > Active Input Handling = Both
Enable Preview Packages
Default Input Actions
和 XR Device Simulator
Assets/Samples/XR Interaction Toolkit/1.0.0-pre.6/Default Input Action
,将XRI Default Left/Right Controller Add to ActionBasedController default
-> *1去设定Preset Manager
Add Component: Input Action Manager
,并把XRI Default Input Actions
加入至Input Aciton Manager
的Action Assests List
里
Invalid AssetDatabase path: /Assets/Samples/XR Interaction Toolkit/1.0.0-pre.6/Default Input Actions. Use path relative to the project folder.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
import Default Input Actions 和 XR Device Simulator遇到的错误。
已知Unity Community有此讨论:
[Bug] Flickering shadow issue
Console没有任何讯息
'Enable Input Tracking' is enabled
, but Position and/or Rotation Action is disabled
. The pose of the controller will not be updated correctly until the Input Actions are enabled
. Input Actions in an Input Action Asset must be explicitly enabled to read the current value of the action. The Input Action Manager behavior can be added to a GameObject in a Scene
and used to enable all Input Actions in a referenced Input Action Asset.
UnityEngine.XR.Interaction.Toolkit.XRBaseController:Update () (at Library/PackageCache/[email protected]/Runtime/Interaction/Controllers/XRBaseController.cs:300)
'Enable Input Actions' is enabled
, but Select, Activate, and/or UI Press Action is disabled
. The controller input will not be handled correctly until the Input Actions are enabled
. Input Actions in an Input Action Asset must be explicitly enabled to read the current value of the action. The Input Action Manager behavior can be added to a GameObject in a Scene
and used to enable all Input Actions in a referenced Input Action Asset.
UnityEngine.XR.Interaction.Toolkit.XRBaseController:Update () (at Library/PackageCache/[email protected]/Runtime/Interaction/Controllers/XRBaseController.cs:300)
'Enable Input Tracking
' is enabled, but Position and/or Rotation Action is disabled. The pose of the controller will not be updated correctly until the Input Actions are enabled
. Input Actions in an Input Action Asset must be explicitly enabled to read the current value of the action. The Input Action Manager behavior can be added to a GameObject in a Scene and used to enable all Input Actions in a referenced Input Action Asset.
UnityEngine.XR.Interaction.Toolkit.XRBaseController:Update () (at Library/PackageCache/[email protected]/Runtime/Interaction/Controllers/XRBaseController.cs:300)
'Enable Input Actions
' is enabled, but Select, Activate, and/or UI Press Action is disabled. The controller input will not be handled correctly until the Input Actions are enabled
. Input Actions in an Input Action Asset must be explicitly enabled to read the current value of the action. The Input Action Manager behavior can be added to a GameObject in a Scene and used to enable all Input Actions in a referenced Input Action Asset.
UnityEngine.XR.Interaction.Toolkit.XRBaseController:Update () (at Library/PackageCache/[email protected]/Runtime/Interaction/Controllers/XRBaseController.cs:300)
明天搞点轻松的,来去逛头盔 (・∀・)
参考:
https://www.youtube.com/watch?v=UlqdHrfXppo&ab_channel=Valem
https://docs.unity3d.com/Manual/com.unity.xr.mock-hmd.html
https://forum.unity.com/threads/attempting-to-determine-the-size-of-an-unknown-feature-type-id-1-while-using-mockhmd.1021825/
https://forum.unity.com/threads/flickering-shadow-issue.954705/
使用DataBinding,首先在build.gradle (Module: app)里增加 and...
交易建立页面 功能规划 简单建置交易建立的页面,填入住户代号、金额以及选择转帐或信用卡缴费。 交易方...
scratch base image 建立最小 image 之前 build 的许多 image 都...
昨天讲了函式,那今天来讲讲参数吧! 那老样子若有错误或需要补充的地方,也欢迎在下方留言让我知道喔~~...
在地狱厨房中,常常看到有人因为Risotto翻车导致戈登大吼骂人的画面,决定来挑战看看传统义大利炖...