diff --git a/Assets/UdonSharp/Editor/UdonSharpRuntimeExceptionWatcher.cs b/Assets/UdonSharp/Editor/UdonSharpRuntimeExceptionWatcher.cs index a16cad8a..c0e0270d 100644 --- a/Assets/UdonSharp/Editor/UdonSharpRuntimeExceptionWatcher.cs +++ b/Assets/UdonSharp/Editor/UdonSharpRuntimeExceptionWatcher.cs @@ -35,11 +35,14 @@ static bool InitializeScriptLookup() if (EditorApplication.isCompiling || EditorApplication.isUpdating) return false; - - AssemblyReloadEvents.beforeAssemblyReload += CleanupLogWatcher; UdonSharpSettings udonSharpSettings = UdonSharpSettings.GetSettings(); + if (udonSharpSettings == null || !udonSharpSettings.listenForVRCExceptions) + return false; + + AssemblyReloadEvents.beforeAssemblyReload += CleanupLogWatcher; + if (logDirectoryWatcher == null) { // Now setup the filesystem watcher diff --git a/Assets/UdonSharp/version.txt b/Assets/UdonSharp/version.txt index 0ffcf198..4b7d50c9 100644 --- a/Assets/UdonSharp/version.txt +++ b/Assets/UdonSharp/version.txt @@ -1 +1 @@ -v0.17.1 +v0.17.2