Skip to content
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

Unity editor crashes on RunTransaction successful completion. #472

Closed
utkarshparasarampuria opened this issue Sep 15, 2019 · 1 comment
Closed

Comments

@utkarshparasarampuria
Copy link

Unity editor version: 2019.1.4f1
Firebase Unity SDK version: 6.3.0
Firebase plugins in use (Auth, Database, etc.): Auth, Database, Storage, Cloud Functions
Additional SDKs you are using (Facebook, AdMob, etc.): Facebook
Platform you are using the Unity editor on (Mac, Windows, or Linux): Windows
Platform you are targeting (iOS, Android, and/or desktop): Android iOS

Issue:
Unity editor crashes when RunTransaction tries to update a double value. The build for Android works without any crash. Changing the double to a string fixes the crash on the Editor. No logs in the Editor.log file about the crash. Same crash occurring also when I'm trying to update a Database path with ServerValue.Timestamp.

Steps to reproduce in quickstart project:

  1. Comment out line 73 in UIHandler.cs- StartListener() : not a necessary step, but just to ensure that the crash is only due to RunTransaction.
  2. Add "mutableData.Value = ServerValue.Timestamp;" below line 163 to make the transaction write the Timestamp value.
  3. Run on the unity editor, add an email id and click "Add score". The transaction write will be successful but the Editor will just close.
@utkarshparasarampuria utkarshparasarampuria added the new New issue. label Sep 15, 2019
@muflub
Copy link

muflub commented Sep 17, 2019

Hi @utkarshparasarampuria,

This is fixed in Firebase SDK 6.4 (Desktop) Fixed a crash when saving a ServerTimestamp during a transaction. Please update to latest Firebase SDK and try again.

Release notes: https://firebase.google.com/support/release-notes/unity

@muflub muflub closed this as completed Sep 17, 2019
@muflub muflub added type: bug and removed new New issue. labels Sep 17, 2019
@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants