• Manual
  • API Documentation
  • Storage
  • Third-party Storages
  • Firebase
  • Realtime Database

    Show / Hide Table of Contents
    • Introduction
    • Installation
    • Getting Started
    • Demos
    • The Save System API
    • Auto Save
    • Platforms
    • Security
    • Serialization
    • Supported Data Types
    • Migration
    • FAQ
    • Changelog
    • Extend
      • Overview
      • Converter
      • Encryption
      • Storage
    • Guides
      • Overview
      • Configuring Settings
      • Using Auto Save
      • Basic Saving and Loading
      • Saving and Loading Raw Data
      • Deleting the Data
      • Saving and Loading Images
      • Saving and Loading Scene Objects
      • Saving and Loading Assets
      • Saving and Loading Readonly Properties
    • Integrations
      • Overview
      • Google Play Games
      • Xbox Live
      • Bolt
      • Firebase
      • PlayFab
      • PlayMaker
      • Steam Auto-Cloud
      • Steamworks .NET
      • Facepunch Steamworks
      • Text Mesh Pro
    • Storage
      • Overview
      • Backup
      • Catalog
      • Meta Data
      • Built-in Storages
        • File
        • PlayerPrefs
        • Memory
      • Third-party Storages
        • Firebase
          • Realtime Database
          • Cloud Storage
          • Firestore
        • PlayFab
          • Entity Objects
          • Entity Files
          • User Data
        • Steam
          • Steamworks .NET
          • Facepunch Steamworks
        • Google Play
          • Saved Game
        • Xbox Live
          • Connected Storage

    Firebase Realtime Database

    The Firebase Realtime Database implementation.

    • Download Firebase Realtime Database Integration
    • Get Started with Realtime Database for Unity
    • Realtime Database (Documentation page)
    • Realtime Database (Product page)

    This storage does not support identifiers with dots and they are considered invalid, for example:

    • "demo.txt" should be "demotxt" otherwise operations will fail

    If identifiers contain any dot, they'll be replaced with empty string, so the "demo.txt" becomes "demotxt" so you can either provide identifiers without dots or with dots as they'll be changed if they're invalid.

    If you are using encryption make sure to enable Use Base64 option during the initialization of the storage like so, otherwise the encryption causes the stored string in the Firebase Realtime Database to be invalid:

    firebase-database://usebase64=true
    

    Syntax

    firebase-database://encoding=<String>;usebase64=<Boolean>;database=<String>;reference=<String>;reference-url=<String>
    

    Parameters

    Name Type Description Alias
    encoding string The text encoding text-encoding, encoding-name
    usebase64 bool Whether to use base64 encoding for storage or not use-base64
    database string The Firebase Realtime Database URL database-url, database-instance
    reference string The Firebase Realtime Database reference path database-reference
    reference-url string The Firebase Realtime Database reference URL database-reference-url
    • Improve this Doc
    • 0 Comments
    In This Article
    • Syntax
    • Parameters