I refer to the official documentation:
Passthrough - Developer Resources (vive.com)
Use unity 2021.3.24. The following error occurs:
CompositionLayerPassthroughAPI HTC_Passthrough feature instance not found.
UnityEngine.Debug:LogError (object)
Wave.OpenXR.Toolkit.CompositionLayer.Passthrough.CompositionLayerPassthroughAPI:ERROR (string) (at Library/PackageCache/com.htc.upm.wave.openxr.toolkit@1.0.5/Runtime/CompositionLayer/Scripts/CompositionLayerPassthroughAPI.cs:16)
Wave.OpenXR.Toolkit.CompositionLayer.Passthrough.CompositionLayerPassthroughAPI:CreatePlanarPassthrough (Wave.OpenXR.CompositionLayer.LayerType,Wave.OpenXR.CompositionLayer.Passthrough.ViveCompositionLayerPassthrough/OnPassthroughSessionDestroyDelegate,single,uint) (at Library/PackageCache/com.htc.upm.wave.openxr.toolkit@1.0.5/Runtime/CompositionLayer/Scripts/CompositionLayerPassthroughAPI.cs:60)
PassthroughReal:Start () (at Assets/Scripts/PassthroughReal.cs:12)
How can I solve it?