Hololens2 reported an error. Microsoft.windows.system is missing

Assets\Microsoft.MixedReality.WebRTC.Unity\Scripts\Media\LocalVideoSource.cs(234,89): error CS0234: The type or namespace name ‘ProcessorArchitecture’ does not exist in the namespace ‘Microsoft.Windows.System’ (are you missing an assembly reference?)

Click the error reporting line to enter the code:

Method 1: modify the official code pre instruction   UNITY_ Wsa changed to   UNITY_ UWP

Method 2: directly delete the official judgment, and the code judges whether it is hololens1    , Return according to your judgment   True or false

  I use   Method two!

Read More: