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 freezes at second Play Mode #460

Closed
unnanego opened this issue Sep 6, 2019 · 4 comments
Closed

Unity Editor freezes at second Play Mode #460

unnanego opened this issue Sep 6, 2019 · 4 comments

Comments

@unnanego
Copy link

unnanego commented Sep 6, 2019

Hi!
Haven't found a similar issue. It is mentioned here: https://issuetracker.unity3d.com/issues/editor-freezes-when-entering-play-mode-and-firebase-getvalueasync-was-used-in-the-last-play-mode
It says unity is not going to fix this. Is this the firebase issue? Will it be resolved? I'm using 2019.2.2 and Firebase 6.4.0 and I have this problem.

@unnanego unnanego added the new New issue. label Sep 6, 2019
@unnanego unnanego closed this as completed Sep 6, 2019
@unnanego
Copy link
Author

unnanego commented Sep 6, 2019

Setting database reference to null in OnDestroy resolved the issue (so far).

@stewartmiles stewartmiles added type: question and removed new New issue. labels Sep 7, 2019
@stewartmiles
Copy link
Contributor

@chkuang-g is this related to the strong reference thing you're working on?

@kevinfoley
Copy link

kevinfoley commented Oct 11, 2019

@stewartmiles We are experiencing this issue with Firebase 6.6.0, Unity 2019.2.8f1. unnanego's workaround does not affect the issue. It seems like a regression of the issue supposedly fixed in 6.5.0, (Desktop): Fixed the freeze when playing in the editor for the more than once or when closing the editor, when keeping a static reference to either FirebaseAuth or FirebaseDatabase instances

@chkuang-g
Copy link
Contributor

@unnanego
Your issue should be fixed in 6.6.0. Two things may be related to the freeze

@kevinfoley
It is very easy for us to miss a comment in a closed issue. To help us to better support your issue, could you create a new issue, follow the template and offer some more detail in it? Ex. Are you having the same freeze issue when play for the second time after calling GetValueAsync()? Could you find anything abnormal in your Editor.log?

Thanks
Shawn

@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

4 participants