// the find
soemyatmin/public-chat-in-unity
A simple chat function with firebase realtime database and anonymous authentication.
A Unity 2019 demo that wires Firebase Realtime Database and anonymous auth into a basic public chat screen. It's a learning project — the kind of thing you build once to understand how Firebase talks to Unity, not something you ship.
The scope is honest: one scene, one data flow, no pretense of being more. Anonymous auth plus a simple read/write rule is the right starting point for a throwaway chat prototype. The singleton pattern for FirebaseManager is a reasonable Unity convention. Including a flowchart for the auth flow is genuinely useful for a tutorial-style repo.
Abandoned since July 2020 and targeting Unity 2019.4 — Firebase SDK 6.15.0 is years behind current, and the Unity Firebase SDK has had breaking changes since. The google-services-desktop.json is committed to StreamingAssets, which is a credential leak waiting to happen if someone forks this with real project values. No message pagination or limit — the whole chat history loads on connect, which will crater performance on any real usage. There's no input sanitization or rate limiting, so a public deployment is one script kiddie away from being flooded.