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

Latest commit

 

History

History
9 lines (5 loc) · 919 Bytes

SpectatorView.Debugging.md

File metadata and controls

9 lines (5 loc) · 919 Bytes

Spectator View Debugging

Debug Logging

The majority of the Spectator View related classes will have 'Debug Logging' flags that can be toggled on and off through the Unity inspector. Enabling these flags results in richer state information being output to log files as well as debug consoles. It's suggested to enable all of these flags when debugging Spectator View related issues. Most if not all of the prefabs provided in this project will have these flags enabled by default.

Show Debug Visuals

The SpatialCoordinateSystemManager has a 'Show Debug Visuals' flag. When enabled, debug visual game objects will be placed at each detected spatial coordinate. Viewing these markers across different devices can assist in understanding if transforms have been applied incorrectly to spectator cameras. It can also demonstrate how accurate different devices were when detecting spatial coordinates.