- Home /
Unity crashes at big firebase data demand?
I am working on a prototype of a social media app. I imported my Unity Firebase packages from here: https://developers.google.com/unity/archive (put them in a folder then Add Package from tarball in Package manager and selecting the .tgz files) and I am also on 2020.3.15f2.
It being a kind of a social media app, the Database demand for data (chats, messages etc) and files (for profile pictures) is pretty high. I use CheckAndFixDependenciesAsync() every scene and it still crashes at times.
If something isn't loaded properly in the current scene, the next Scene change that leads to a data demand will crash the app and my unity app. It also happens a lot more in my Unity app than when i test it on my phone.
And i thought- maybe my code isn't efficient enough.(i look in the database and at Scene load i Instantiate() message objects based on the data) but i don't think there is a better way at this level.
Other probabilities may be - slow internet, how i imported my packages and the big data demand.
Please help me if you have any ideas
Your answer
Follow this Question
Related Questions
Unity - wait for data to load from database 1 Answer
Unity2D Crashes when switching to Scene View 0 Answers
Npgsql dll working in Standalone Build but not in Editor 3 Answers
error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'Firebase.Unity' 3 Answers
Android app crashes after unity splash screen. Migrated project from 2018.1.6f1 to 2019.2.1f1 0 Answers