You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform standalone. When I try to create planar pass through then unity editor stops playing. When I do the same in standalone build? it stops.
Code example:
using UnityEngine;
using VIVE.OpenXR.CompositionLayer.Passthrough;
using VIVE.OpenXR.CompositionLayer;
using System.Collections;
public class PlanarPath : MonoBehaviour
{
int ID;
void Start()
{
StartCoroutine(SC_Create());
IEnumerator SC_Create()
{
yield return new WaitForSeconds(10);
ID = CompositionLayerPassthroughAPI.CreatePlanarPassthrough(LayerType.Overlay);
StartCoroutine(SC_Underlay());
}
IEnumerator SC_Overlay()
{
yield return new WaitForSeconds(10);
CompositionLayerPassthroughAPI.SetPassthroughLayerType(ID, LayerType.Overlay);
}
IEnumerator SC_Underlay()
{
yield return new WaitForSeconds(10);
CompositionLayerPassthroughAPI.SetPassthroughLayerType(ID, LayerType.Underlay);
StartCoroutine(SC_Overlay());
}
}
}
OpenXR Settings:
Console:
The text was updated successfully, but these errors were encountered:
Platform standalone. When I try to create planar pass through then unity editor stops playing. When I do the same in standalone build? it stops.
Code example:
OpenXR Settings:
Console:
The text was updated successfully, but these errors were encountered: