MRLightingTools-Unity icon indicating copy to clipboard operation
MRLightingTools-Unity copied to clipboard

The type or namespace name 'WebCam' does not exist in the namespace 'UnityEngine.XR.WSA

Open genereddick opened this issue 6 years ago • 1 comments

In Unity 2019.2.9

Assets\MixedRealityToolkit.LightingTools\CameraCapture\CameraCaptureUWP.cs(10,26): error CS0234: The type or namespace name 'WebCam' does not exist in the namespace 'UnityEngine.XR.WSA' (are you missing an assembly reference?)

When building these Using statements seem to have issues. In CameraCaptureUWP

#if WINDOWS_UWP ... using UnityEngine.XR.WSA.WebCam; using Windows.Media.Devices;

genereddick avatar Oct 17 '19 07:10 genereddick

Hey @genereddick They moved WebCam to a different namespace, it is now under UnityEngine.Windows.WebCam.

roalchaq avatar Mar 27 '20 11:03 roalchaq