Required Project Settings

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.

image-20240227-194703.png

Managed Stripping Level = Disabled OR Minimal

Project Settings → Player → Other Settings → Managed Stripping Level

image-20250716-003339.png

 

DSP Buffer Size = Best Latency

Project Settings → Audio → DSP Buffer Size

image-20240227-195312.png

 

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.

image-20240227-194901.png

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.

image-20240227-194901.png

 

Android Project Settings

Scripting Backend = IL2CPP

Other target/backend combinations may cause issues with voice/video

 

image-20250716-013023.png

 

Target Architecture = ARM64

image-20250716-013318.png

 

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.

image-20250716-004712.png

 

Ensure Camera/Microphone usage fields are populated.

Builds will fail if these are empty

image-20250714-214158.png

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.

Drag libvpxfm-iOS.a, libopusfm-iOS.a, and libyuvfm-iOS.a to the top of the Libraries list

VisionOS

IMPORTANT: in the XCODE project in Preprocessors.h set UNITY_USES_WEBCAM=0

Camera and video sharing will not work otherwise!

Search by “Webcam”, locate Preprocessors.h, set Webcam value to 0

MagicLeap

Disable Acoustic Echo Cancellation for builds

image-20250716-011956.png