Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Tricnic · Nov 09, 2016 at 05:14 PM · databasegoogle

Firebase for Unity using service accounts doesn't work

I installed the shiny new Firebase for Unity package and am trying to get the database package to work using a service account, as detailed here. I was able to connect to and work with the database (without a service account) when the rules are left public, but not when using a service account.

Enabling verbose logging ( FirebaseDatabase.DefaultInstance.LogLevel = LogLevel.Verbose; ) gives me:

PersistentConnection:pc_0 - Scheduling connection attempt
ConnectionRetryHelper:Scheduling retry in %dms
PersistentConnection:pc_0 - Trying to fetch auth token

Then after a a min or two:

PersistentConnection:pc_0 - Connection interrupted for: connection_idle

I've tried giving the service account the Owner role and making it DwD. Neither helps.

Has anyone been able to get this working? Do I need to do something special when setting up the service account? Do I need to do something in Firebase after setting up the service account?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Tricnic · Nov 21, 2016 at 03:35 PM

I received a response from Firebase after submitting a request for help. They will be including a fix for this problem in their next release.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ellulpatrick · Nov 21, 2016 at 09:08 PM 0
Share

Do you have a link to the bug report so we can keep track of it please?

avatar image Tricnic · Nov 21, 2016 at 11:26 PM 0
Share

Actually, they released version 1.0.1 earlier today and it worked for me. The fix was the first item on their list of bug fixes in the READ$$anonymous$$E when you download the SD$$anonymous$$.

I opened a support request with them directly, so I don't really have anything to share, but it should work with the new version now.

avatar image
0

Answer by ellulpatrick · Nov 15, 2016 at 11:52 AM

Did you follow the instructions exactly set here: https://firebase.google.com/docs/database/unity/start

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tricnic · Nov 15, 2016 at 12:56 PM 0
Share

Yes, I did. It works on a mobile device, complete with authentication.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

81 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I set a query value from firestore to a text field? 0 Answers

Firebase List Users 1 Answer

Google Firebase and Unity (C#): Unable to download png from bucket 0 Answers

Reading Google Sheets with Unity 0 Answers

What is the best way to achieve local database for mobile? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges