Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

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

Open
genereddick opened this issue Oct 17, 2019 · 1 comment

Comments

@genereddick
Copy link

genereddick commented Oct 17, 2019

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;

@roalchaq
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants