Remote Config crash editor every time
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp, firebase, unity
- Domain
- devtools, networking
Research direction
Start at FirebaseRemoteConfig.DefaultInstance and the Firebase.Platform.FirebaseAppUtils:PollCallbacks stack shown in the Editor Crash Log. Reproduce the crash with Unity 2020.3.48f1 and Firebase Unity SDK 11.5.0 without a VPN, then determine whether the failure is in this quickstart or the Firebase Unity SDK. Done means the cause is identified and the editor no longer crashes under the reported network conditions.
Written by the indexing model from the issue text.
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2020.3.48f1
- Firebase Unity SDK version: 11.5.0
- Source you installed the SDK: FirebaseAnalytics.unitypackage
- Problematic Firebase Component: RemoteConfig in Editor
- Other Firebase Components in use: Analytics, Crashlytics
- Additional SDKs you are using: Facebook, Facebook, ApplovinMax, Appsflyer, Appmetrica, AudienceNetwork, ExternalDependencyManager, GoogleMobileAds
- Platform you are using the Unity editor on: Windows
- Platform you are targeting: Android
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the issue here:
Every time I launch the editor in Eastern Europe (Eastern Ukraine), I get a editor crash. This may be due to the fact that Google services are partially limited and internet has high latency. But every time I call FirebaseRemoteConfig.DefaultInstance I get an editor crash.
If i enable VPN, everything works correctly.
Steps to reproduce:
- Start editor without VPN, on East Europe (Eastern Ukraine).
- Start FirebaseRemoteConfig.DefaultInstance
- Crash
FirebaseRemoteConfig.DefaultInstance.SetDefaultsAsync calls from Start method of other monobehaviour.
All code from documentation Remote Config Get Started
https://firebase.google.com/docs/remote-config/get-started?platform=unity
Relevant Code:
FirebaseRemoteConfig.DefaultInstance.SetDefaultsAsync(_defaultValues).ContinueWithOnMainThread(task =>
{
Print.Log("RemoteConfig -> Firebase Remote Config Default values setted.");
});
FetchDataAsync();
Editor Log
Editor Crash Log.txt
ERROR: flatbuffers::Parser::Parse() failed: (1, 1): error: illegal character: <
Crash!!!
SymInit: Symbol-SearchPath: 'D:/Unity/Editors/2020.3.48f1/Editor/Data/Mono;.;D:\Unity\Projects\ArrowThrower;D:\Unity\Editors\2020.3.48f1\Editor;C:\Windows;C:\Windows\system32;', symOptions: 534, UserName: 'Yaroslav'
OS-Version: 10.0.0
D:\Unity\Editors\2020.3.48f1\Editor\Unity.exe:Unity.exe (00007FF686440000), size: 84131840 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2020.3.48.1457
C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00007FF84E030000), size: 2064384 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.4355
C:\Windows\System32\KERNEL32.DLL:KERNEL32.DLL (00007FF84CE90000), size: 774144 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
C:\Windows\System32\KERNELBASE.dll:KERNELBASE.dll (00007FF84BA00000), size: 3104768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.4355
C:\Windows\System32\CRYPT32.dll:CRYPT32.dll (00007FF84BD50000), size: 1433600 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.4412
C:\Windows\System32\ucrtbase.dll:ucrtbase.dll (00007FF84B870000), size: 1048576 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3636
C:\Windows\System32\USER32.dll:USER32.dll (00007FF84C480000), size: 1699840 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.4355
C:\Windows\System32\win32u.dll:win32u.dll (00007FF84C030000), size: 139264 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.4412
C:\Windows\System32\GDI32.dll:GDI32.dll (00007FF84DDF0000), size: 176128 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.3996
flatbuffers::Parser::Parse() failed: (1, 1): error: illegal character: <
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Firebase.Platform.FirebaseLogger:LogMessage (Firebase.Platform.PlatformLogLevel,string)
Firebase.LogUtil:LogMessage (Firebase.LogLevel,string)
Firebase.LogUtil:LogMessageFromCallback (Firebase.LogLevel,string)
Firebase.AppUtil:PollCallbacks ()
Firebase.Platform.FirebaseAppUtils:PollCallbacks ()
Firebase.Platform.FirebaseHandler:Update ()
Firebase.Platform.FirebaseMonoBehaviour:Update ()
- Dominant language
- C#
- Stars
- 923
- Forks
- 456
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/quickstart-unity
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
firebase/quickstart-unity#1448 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
firebase/quickstart-unity#1432 · 1 comment ·
-
new
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
firebase/quickstart-unity#1411 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/quickstart-unity#1403 · 1 comment ·
-
Firebase or specific Android versions trigger app_clear_data on first_open, disrupting our funnel Opennew
Difficulty 4/5 3-5 days Newbie friendliness 25/100
firebase/quickstart-unity#1390 · 1 comment ·
All issues in firebase/quickstart-unity
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·