-
Notifications
You must be signed in to change notification settings - Fork 8
Debug and Test Mode
Guribo edited this page Jul 3, 2026
·
2 revisions
Debug mode is disabled by default. No performance impact when disabled — logging code is not compiled into builds.
- Go to Edit > Project Settings > Player > Script Compilation
- Add
TLP_DEBUGto the list of scripting defines - Find the
TLP_Loggerprefab in your scene - Set logging severity to
Debug(default isInfo)
- Go to Edit > Project Settings > Player > Script Compilation
- Remove
TLP_DEBUGfrom the list - Set
TLP_Loggerseverity back toInfoor higher
Debug logging is verbose — only enable when actively debugging.
Test mode is disabled by default. Intended for unit testing only — do not enable in production builds.
- Go to Edit > Project Settings > Player > Script Compilation
- Add
TLP_UNIT_TESTINGto the list of scripting defines
- Remove
TLP_UNIT_TESTINGfrom the list
Test mode enables workarounds for VRChat SDK parts that cannot be easily mocked.
| Symbol | Purpose |
|---|---|
TLP_UDONVOICEUTILS |
Package marker — always defined |
TLP_UDONUTILS |
UdonUtils marker — always defined |
TLP_DEBUG |
Verbose logging (excluded from builds) |
TLP_UNIT_TESTING |
SDK workarounds for unit testing |
- Architecture
- Occlusion
- Voice Directionality
- Height Scaling
- Audio Processing Pipeline
- Private Voice Channels
- WorldAudio Subsystem
- WorldAudio Limitations
- Set Up Occlusion
- Set Up Voice Channels
- Set Up Reverb
- Set Up Height Scaling
- Set Up Voice Directionality
- Set Up Microphone
- Set Up WorldAudio Emitters
- Enable Debug Mode
- Tutorial #1: Custom Voice Override Zone
- Tutorial #2: Private Voice Channels
- Tutorial #3: Setting Up World Audio
- PlayerAudioController
- PlayerAudioOverride
- PlayerAudioOverrideList
- PlayerAudioView
- PlayerAudioConfigurationModel
- SyncedPlayerAudioConfigurationModel
- VoiceUtils
- IgnoredPlayers
- AudioObstacle
- DefaultPlayerOcclusion
- NullPlayerOcclusion
- PlayerOcclusionStrategy
- Privacy Channel Reference
- AdjustableGain
- DynamicPrivacy
- PickupMicrophone — MVC microphone system with MicModel/MicController/MicView
- VoiceOverrideTriggerZone
- VoiceOverrideRoom