The Data Collection Module requires and is compatible with the SteamVR framework. If used, the Shimmer module requires a Windows 10 or 11 operating system.
Follow the guide at https://github.com/GameWorkstore/google-protobuf-unity
Go to: Edit → Project Settings → Player → Other Settings → Configuration
Change Api Compatibility Level from .NET Standard 2.1 to .NET Framework.
- For Unity 2021 or newer:
.NET Framework - Older Unity versions:
.NET 4.x
If you prefer to stay on .NET Standard 2.1, you can manually import System.IO.Ports.dll into Unity:
- Locate the DLL:
C:\Windows\Microsoft.NET\Framework\<version>\System.IO.Ports.dll - Alternatively, you can get it from the official Microsoft packages or NuGet (https://www.nuget.org/packages/system.io.ports/).
- Create a folder in your Unity project (e.g., Assets/Plugins).
- Drag and drop the DLL into this folder.
- Select the DLL in Unity’s Project window
- In the Inspector, set the Platform settings.
- Unity will recompile your scripts, and
System.IO.Portsshould now be accessible.
Install using the NuGetForUnity plugin (https://github.com/GlitchEnzo/NuGetForUnity/releases)
Refer to the Magic Xroom documentation for more details https://github.com/XR2Learn/magic-xroom/blob/main/README.md