Required Project Settings
UNITY PROJECTS IMPORTANT MUST READ
Follow this guide to properly configure Cavrnus Spatial Connector for reliable editor functionality and successful builds across all target platforms.
For general platform support → Supported Platforms and Configurations
Project Settings for All Platforms
UI Scale set to 1x
In Unity make sure to have your Scale for the UI on the top of Unity set to 1, otherwise you may not see the default Cavrnus UI that gets loaded on start.
Managed Stripping Level = Disabled OR Minimal
Project Settings → Player → Other Settings → Managed Stripping Level
DSP Buffer Size = Best Latency
Project Settings → Audio → DSP Buffer Size
Windows Standalone Project Settings
Run In Background = True
Project Settings → Player → Resolution and Presentation –> Run In Background
If this is not checked when you switch between applications voice/video streaming will stop working, and also copresence and connection to the server will stop.
MacOS Standalone Project Settings
Run In Background = True
Project Settings → Player → Resolution and Presentation –> Run In Background
If this is not checked when you switch between applications voice/video streaming will stop working, and also copresence and connection to the server will stop.
Android Project Settings
Scripting Backend = IL2CPP
Other target/backend combinations may cause issues with voice/video
Target Architecture = ARM64
Mac / iOS / VisionOS
Target Intel64. Support for Apple Silicon is limited!
Voice/video does not work for Apple Silicon. You must “Disable Voice and Video” in the Cavrnus Spatial Connector to avoid errors.
Ensure Camera/Microphone usage fields are populated.
Builds will fail if these are empty
iOS / VisionOS
IMPORTANT: When building to a iOS, visionOS device, if using voice/video streaming, in the XCODE project go to:
UnityFramework->Build Phases->Link Binary With Libraries
Select the libvpxfm-iOS.a, libopusfm-iOS.a, and libyuvfm-iOS.a
Now, DRAG these libraries to the top of the list. See screenshot.
VisionOS
IMPORTANT: in the XCODE project in Preprocessors.h set UNITY_USES_WEBCAM=0
Camera and video sharing will not work otherwise!
MagicLeap
Disable Acoustic Echo Cancellation for builds