Last active
February 4, 2026 00:35
-
-
Save baba-s/220292bb55cfb9374d68c44e70447577 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using UnityEditor; | |
| namespace Kogane.Internal | |
| { | |
| [InitializeOnLoad] | |
| internal static class SetUseAuthEmulatorEnvironmentVariable | |
| { | |
| static SetUseAuthEmulatorEnvironmentVariable() | |
| { | |
| /* | |
| * 以下のログを無効化するために Unity エディタでのみ環境変数を設定しています。 | |
| * USE_AUTH_EMULATOR not set. | |
| * UnityEngine.Debug:Log (object) | |
| * Firebase.Platform.FirebaseLogger:LogMessage (Firebase.Platform.PlatformLogLevel,string) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/platform/Unity/FirebaseLogger.cs:89) | |
| * Firebase.LogUtil:LogMessage (Firebase.LogLevel,string) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/src/LogUtil.cs:69) | |
| * Firebase.LogUtil:LogMessageFromCallback (Firebase.LogLevel,string) (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/app/src/LogUtil.cs:77) | |
| * Firebase.Auth.FirebaseUserInternal:ReloadAsync () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/android_unity/armeabi-v7a/auth/swig/Firebase.Auth_fixed.cs:3017) | |
| * Firebase.Auth.FirebaseUser:ReloadAsync () (at /Users/runner/work/firebase-unity-sdk/firebase-unity-sdk/auth/src/FirebaseUser.cs:199) | |
| */ | |
| Environment.SetEnvironmentVariable( "USE_AUTH_EMULATOR", "0" ); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment