Closed vertex798 closed 4 years ago
Looks like you're on a new version of Unity (2020)
Seems like the ARBackgroundRenderer
has moved to a package:
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.1/api/UnityEngine.XR.ARFoundation.ARCameraBackground.html
The two aren't compatible though, the older is still available in Unity 2019, if that's an option for you..
@ogoshen thank you i used using UnityEngine.XR.ARFoundation
Were you able to get things working?
*If we don’t hear from you in 7 days, this issue will be closed.
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
I can't connect to RealSense 515L from Unity. In the current RealSense View, it has been confirmed that the sensor is operating normally.
However, after importing the Unity package file from the Unity project (Unity 2020.1.0f1) and executing the StartHere scene file, the following message appears.
When importing the Unity package file for the first time, the following error message occurred, I solved it by commenting out the part.
The full text of the commented code is:
`using System.Collections; using System.Collections.Generic; using Intel.RealSense; using UnityEngine; using UnityEngine.Events; using UnityEngine.Rendering; using UnityEngine.XR;
public class RsARBackgroundRenderer : MonoBehaviour { public RsFrameProvider Source; public Material material; private Camera cam; //private ARBackgroundRenderer bg; private Intrinsics intrinsics; private RenderTexture rt; Vector2Int screenSize;
} `