-
Notifications
You must be signed in to change notification settings - Fork 423
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
[Crash] Firebase crashes on some Windows machines #1284
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Hi @Fellhuhn, Thanks for reporting this to us. In order to identify what's causing this behavior, could you provide a minimal, reproducible example of your implementation? |
Hey @Fellhuhn. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
A couple of questions:
Thank you, |
I updated from firebase_unity_sdk_8.10.1.
It always crashes, the game doesn't start at all. As it seems the users are still running Windows 7, which might be the issue. Sadly they are not willing to help in resolving the problem. |
Thank you for the information. To summarize, @Fellhuhn saw crashes for Windows standalone build related to websocket handshake upgrade on Windows 7 machine after upgrading Unity SDK from It does not seems to have any change in More investigation may need to be done. |
There are some change to boringssl from I'll mark this as a bug for now. |
FYI This same crash has been reported against Firestore as well, with a slightly different stack trace: firebase/firebase-unity-sdk#381 |
Do anyone found the solution for this? |
I am not using ANSI characters in my user name but still its crashing at a point where i declare document refrence or collection refrence! |
@dconeybe Got the solution! Unity project is making multiple instances for firestore or realtime database so we have to make it persistant after taking instance. You can declare instance like below -
NOTE : PersistenceEnabled must be false. |
@deveshbeniwal That's surprising that you fixed this crash by disabling persistence. There is a known issue where only one live Firestore instance can access a Firestore database with persistence enabled, but there is a distinct stack trace when that occurs. This stack trace was related to @Fellhuhn Could you try disabling persistence to see if it fixes this crash for you? In RTDB call FirebaseDatabase.SetPersistenceEnabled(false). |
One team member also got this crash and callstack on Windows when upgrading to firebase > 9.0.0 @deveshbeniwal's fix worked great 🎉 hopefully there will be a real fix soon |
Updated to 9.2.0 and disabled persistence. It still crashes for that user. |
Thanks, It worked, Wasted my 2 hours. |
works for me ! Thanks ! |
This issue is still exist for my project. I'm using firebase realtime db 9.5.0 and unity version 2021.3.2f1. Is it possible to have old cache from enabling persistency of database before? I searched on the internet, however I couldn't find a proper solution for cleaning a persistent cache for realtime db. Anyone has a suggestion ? |
I encounter this issue on Win 10 win Firebase 11.5 as of October 2023. I could only observe on some older surface tablet (with Win10 64 bit). That is: on the very first startup everything works as expected. Closing the application and restarting result in a crash, but clearing the content of the
|
Anything new on this? As mentioned in my last comment, the app will work the very first time it is ran and any time * the firestore directory located at "C:\Users<user>\AppData\Local\firestore" is empty. * The exact same executable runs on many other windows machines just fine. Please let me know if I can be of help. |
Aki estava acontecendo sempre o mesmo Stack Trace!!. ========== OUTPUTTING STACK TRACE ================== 0x00007FFB98732F09 (FirebaseCppApp-11_7_0) uWS::HttpSocket<0>::upgrade Estou utilizando FirebaseDatabase, apos utilizar "FirebaseDatabase.DefaultInstance.SetPersistenceEnabled(false);", o crash sumiu ate então!!! |
Operating system: Windows
Operating system version: Windows 10 (10.0.19044) 64bit
Firebase version: 9.0.0
Unity version: 2021.3.1f1
What steps will reproduce the problem:
What is the expected result?
What happens instead of that?
The Unity game has been using Firebase for a while now and with the latest update the plugin got upgraded to 9_0_0. Since then some users can't start the game anymore as it crashes right away. The game uses Auth, Database (on desktop) and Messaging (on mobile). The stacktrace:
All the app does is using custom auth via our backend (REST API) and then accessing a realtime database (listening to changes). If those users change back to the old versions everything works fine. The new version also works fine for other users. So there is no consistency here.
What could be the cause for this issue? As the old version works fine for those users I assume it is not a networking issue on their side.
The text was updated successfully, but these errors were encountered: