Troubleshooting
Web
SDK not responding
- Ensure
Unity.callis available in your environment - Check that the AR SDK is properly loaded
- Verify JSON stringification is working correctly
Events not received
- Ensure
onUnityMessageis defined as a global function - Check browser console for errors
- Verify the AR SDK is sending messages correctly
Native (Swift / Kotlin)
SDK not responding or no events
- iOS: ensure you called
sdk.start { ... }and that the closure actually forwards toUnityFramework.getInstance()?.sendMessageToGO(...) - Android: ensure you called
TreedisARSDK.start()and that the:unityLibrarymodule (which containscom.treedis.arsdk.ArSdkBridge) is included - Verify the Unity framework/library is fully loaded before sending commands
All integrations
Localization not starting
- Ensure you've called
setEnvironmentandsetTourInfobeforestartLocalization - Check that the window size has been set (
windowSize/setWindowSize) - Verify the tour slug and matterId are correct

