diff --git a/Scripts/Format/VRMImporter.cs b/Scripts/Format/VRMImporter.cs index 4bae71ed8..5ba2f2abb 100644 --- a/Scripts/Format/VRMImporter.cs +++ b/Scripts/Format/VRMImporter.cs @@ -524,9 +524,14 @@ namespace VRM } public static void LoadVrmAsync(VRMImporterContext ctx, Action onLoaded) + { + LoadVrmAsync(ctx, onLoaded, Debug.LogError); + } + + public static void LoadVrmAsync(VRMImporterContext ctx, Action onLoaded, Action onError) { LoadVrmAsyncInternal(ctx) - .Subscribe(Scheduler.MainThread, onLoaded, Debug.LogError); + .Subscribe(Scheduler.MainThread, onLoaded, onError); } private static Schedulable LoadVrmAsyncInternal(VRMImporterContext ctx)