diff --git a/RuntimeInternals/ScreenshotHelper.cs b/RuntimeInternals/ScreenshotHelper.cs index e91465f..e7a7f0b 100644 --- a/RuntimeInternals/ScreenshotHelper.cs +++ b/RuntimeInternals/ScreenshotHelper.cs @@ -70,13 +70,6 @@ private static string DefaultFilename(string callerMemberName) yield break; } - if (Thread.CurrentThread.ManagedThreadId != 1) - { - Debug.LogWarning("Must be called from the main thread."); - yield break; - // Note: This is not the case since it is a coroutine. - } - if (directory != null) { directory = Path.GetFullPath(directory);