Unreal Engine: Get Data from Firebase Realtime Database

Sdílet
Vložit
  • čas přidán 29. 07. 2024
  • Available for Unreal Engine 4.27, 5.0, 5.1,5.2
    Hello, in this video, I will show you how to get data from the Firebase Realtime Database using the Firebase Blueprint Plugin for Unreal Engine.
    Plugin URL:
    www.unrealengine.com/marketpl...
    Setup Video:
    • Unreal Engine: Firebas...
    Plugin Playlist:
    • Unreal Engine: Firebas...
    Read on Codeible.com
    codeible.com/view/videotutori...
    0:00 - Introduction
    0:13 - Get Data node
    0:22 - Defining the path to the data
    0:43 - Adding the Callback functions for Get Data
    1:16 - Data Snapshot
    2:39 - Using the Listen to Value node
    If you find this video helpful, please Like, Share, and Subscribe to support the channel!
    Codeible App:
    play.google.com/console/u/0/d...
    Codeible website:
    codeible.com/
    Loop Clicker:
    play.google.com/store/apps/de...
    Loop Clicker Website:
    loopclicker.web.app/
    Support Codeible on Patreon!
    / codeible
    Reddit:
    / codeible
    Follow on Pinterest:
    / codeible
    Follow on Instagram:
    / codeibleig
    Follow on Twitter:
    intent/follow?ori...

Komentáře • 5

  • @bara_abudhair
    @bara_abudhair Před rokem +1

    amazing tutorial man .. Can you please help me with something though .. I have made a list of 3 users .. each user has a name, a usertype ... etc.
    how can I loop through them ?
    meaning user1 has (name, usertype .. etc.) .... user2 has (name, usertype .. etc. ) .. how do i make unreal loop through them to get the data associated with email that has signed in using firebase authentication ?

    • @Codeible
      @Codeible  Před rokem +1

      Hi, thanks.
      The structure of Realtime Database is like a large JSON object.
      In order to loop, the data will need to be in an array.
      That structure will be hard to update the data for each user if a change needs to be made.
      However, there is an update to include Firestore for the plugin that is currently being reviewed by Unreal Engine. Should be available in 1-2 weeks.
      The nodes will be almost identical so you can easily switch between the two when it comes out.
      The difference is that Firestore stores data in collections which you can easily get users from a collection and loop.
      Realtime Data is mainly used to store and retrieve data quickly.
      Firestore is the same except you can do a lot more such as using queries to get specific document(s) from a collection. Then you can loop through all of them in Unreal.

    • @bara_abudhair
      @bara_abudhair Před rokem +1

      ​@@Codeible​ Thanks a lot man .. I figured it somehow .. apparently I should make a loop node and make execute the get data node .. that way I can loop the firebase DB .. Thanks a lot

  • @romanchannel69
    @romanchannel69 Před rokem

    Great tut, thanks! Is there a free trial for the plugin?

    • @Codeible
      @Codeible  Před rokem

      Thanks. I do not think Unreal Engine has a free trial section