-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [RemoteConfig] [12.0.0] Exception after receiving FetchAsync result: "ArgumentOutOfRangeException - Value to add was out of range. Parameter name: value" #1058
Comments
Same problems. |
@argzdev Reproducible Firebase Unity SDK Versions:v12.0.0 Platforms:iOS 15.1 Steps to Reproduce:
Hope this helps in identifying and fixing the bug. |
Hey folks, thanks for the extra details and steps to reproduce the behavior. So far, I'm having trouble triggering the throttling failure so I'm unable to reproduce the Are you encountering throttling issue after fetching remote data multiple times? Or do you have another way of triggering this scenario? Would you mind sharing how you're triggering the throttling failure? |
I have the same problem. Reproducible Firebase Unity SDK Versions:v12.1.0 Unity Version2022.3.27f1c1 Platform:OnePlus 6, Android version 11 Steps to Reproduce:
|
The cause of this bug is likely due to an incorrect value of
@argzdev Here is more info:
The ThrottledEndTime appears to be random each time. Sometimes, after deleting and reinstalling the app, an ArgumentOutOfRangeException is triggered after starting the app two or three times. On iOS 17.2.1 devices, the ThrottledEndTime remains consistently unchanged.
|
I am extremely embarrassed and troubled, and my position at the company is at risk because of this! I need a quick fix. Also, exceptions do not appear in the Xcode log when there is an error! I am very angry.!!! |
Hi @argzdev ! Is there any progress? |
Hey folks, sorry for the delayed response. I've been trying to test different scenarios with this issue. It seems that there's no emulator for iOS version @theGacheeNextnull, sorry to hear you're having trouble with our SDK. Are you also encountering this same issue? The exceptions should atleast show if there is an error. You might be encountering a different problem compared to the one stated by the author. In this case, could you file a new report with your details so we can investigate this further. Thanks! |
Hi, @argzdev. When you enable airplane mode on your Android phone, can you reproduce this bug? On my device, this issue definitely occurs. |
Hello we are having the same issue on android, here is the stack trace. |
I also face the issue after updating FirebaseRemoteConfig to version 12.2.0. Does anyone solve the problem? |
We also have the exact same issue on both platforms. So far no other option than downgrading. |
@argzdev This issue persists in version 12.2.0, when will it be fixed? I need to update because there are ANR issues. I can't update because of this error. |
We currently don't have a timeline yet for the fix. Our engineers are aware and is still investigating this issue. We'll reply back here once we get further updates. |
I faced the similar bug. I do these steps to fix it.
I am using firebase-unity 12.2.0 |
This method didn’t fix the bug. If the conditions for an ArgumentOutOfRangeException are met, await remoteConfig.EnsureInitializedAsync() will also throw an ArgumentOutOfRangeException. |
I have the same problem with my projects and I can confirm that this issue happens with Unity 2022.3.32 and Firebase SDK 12.1.0 and 12.0.0. Very sad bug that exists for several months still not fixed. Lots of users were impacted. And we can't downgrade because v 12.0.0 contains import changes for android (target api 34). Very frustrating. |
@a-maurice @argzdev This issue persists in version 12.2.0, when will it be fixed? I need to update because there are ANR issues. I can't update because of this error. |
Hey folks, I did see that a recent pull request which fixes this issue was merged a few weeks back. This fix should go out in the next release. While we can't provide an exact timeline, we generally aim to release every month, but there are sometimes longer/shorter intervals. I'll try to provide updates as soon as we can. Feel free to keep an eye out on our release notes. |
The latest release, 12.3.0, https://github.com/firebase/firebase-unity-sdk/releases/tag/v12.3.0, has the fix for this issue. Thanks for bringing it to our attention. |
Description
After updating firebase sdk from version 10.5.0 to 12.0.0, a new exception appeared in crashlytics logs. An exception occurs after receiving the result of FetchAsync operation when accessing ConfigInfo data on both platforms, but mainly on iOS (affecting 5% of DAU).
Crashlytics stack trace
Code example
Reproducing the issue
No response
Firebase Unity SDK Version
12.0.0
Unity editor version
2022.3.18f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Remote Config
Other Firebase Component(s) in use
AB Testing, Analytics, App Check, Authentication, Crashlytics, Installations, Messaging, Storage
Additional SDKs you are using
AppLovin, AppsFlyer, Facebook, GoogleMobileAds
Targeted Platform(s)
Apple Platforms, Android
Unity editor platform
Mac, Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
No response
If using CocoaPods for Apple platforms, the project's Podfile.lock
Expand
Podfile.lock
snippetThe text was updated successfully, but these errors were encountered: