Thank you for this informative video! I'm not very familiar with databases: How do you host the Supabase database? On a website, on a server, ...?
@ChangeNode Жыл бұрын
You can use supabase.com for a hosted server. There's a free tier and a $25/month tier. You can also self-host if you want, but you should be pretty comfortable with Docker IMHO. You can also use the Supabase CLI to run it locally for development. Glad you liked the video - gotten a bit swamped but looking to do more soon. :)
@martin.m.kloeckener Жыл бұрын
@@ChangeNode I see. The hosted server is probably the most straight forward way to start. I want to create a Unity App that restricts some content behind a paywall. Users should be able to sign up on a website, subscribe and then log-in in the app. How would you tackle this, speaking from more high level perspective? Is this possible with Supabase? I'm a Unity dev but have pretty much no experience with web development. Do you know if there are any Wordpress plugins that would help?
@ChangeNode Жыл бұрын
@@martin.m.kloeckener You can absolutely do this with Supabase, but you would also likely need a web developer. The subscription stuff alone is non-trivial to do - I'd suggest checking out RevenueCat for subscriptions. You might want to just combine RevenueCat with Unity and skip the website side for now, depending on your experience/resources. Another angle would be to look at a ton of different web app tools. Lots and lots of options, just depends.
@martin.m.kloeckener Жыл бұрын
Thank you, that helps a lot! 🤗
@zpinacz Жыл бұрын
I am using UniRx in my unity project and it makes it incompatible with the supabase-unity as it requires the System.Reactive.dll :/ Would be great to see supabase sdk without this dependency.
@ChangeNode Жыл бұрын
I'm not sure, you can try playing with adding/removing the libs manually and see if that helps.
@alessTheDev Жыл бұрын
Hi, I tried to do this by installing the supabase package with nuGet but I get a couple errors when opening nuGet for unity and I also get a burst error every time I compile sctipts
@ChangeNode Жыл бұрын
Yup, that means NuGet is pulling in too many dependencies. Good news tho, last week I posted an updated template with all of the config updated. Check it out: github.com/wiverson/supabase-unity-template The template defaults to talking to a local Supabase CLI instance. Right-click in Assets, create a new Settings, and drop that in to point to your Supabase instance. New video soon hopefully!
@KaushalAgrawal86 Жыл бұрын
Got google signin working with supabase unity on my android project. Any idea on how to implement facebook login? Using facebook unity package, it gives acces token, whis is not a jwt token. How to do FB login.
@ChangeNode Жыл бұрын
I think the only way to do that is with a WebView. Basically you open up a WebView to start the flow and then include a callback URL that points back to the app via deeplink at end of the process. You then can get the arguments back from the deeplink and use those to complete the flow.
@KaushalAgrawal86 Жыл бұрын
@@ChangeNode thanks
@boogetow34847 ай бұрын
Does it work in linux servers?
@JorgeCastellonJr Жыл бұрын
You can't see the supabase function. 1:50
@ChangeNode Жыл бұрын
Sorry, big ol' head is in the way. ;) SQL version: select 'hello world'; JS version: let output = `Hello, ${name}!`; return output;
@Larni_Frey Жыл бұрын
Can it work with WebGL unity?
@ChangeNode Жыл бұрын
Haven't tried it. If you are publishing to WebGL I'd suggest looking at using the standard Supabase JS SDK and then injecting the session token into the Unity game, but YMMV. The OAuth flow via the JS SDK is likely a cleaner/easier version. FWIW I'm using SvelteKit w/Supabase and thumbs up from me on that.
@macawls11 ай бұрын
Any updates?
@Larni_Frey11 ай бұрын
@@macawls nope
@ChangeNode11 ай бұрын
@@macawls hmm. The docs for supabase-csharp got updated with a bunch more info on Unity. Plus I posted a template Unity project. Check the more recent video on my channel and the supabase-csharp docs for some more update info. Other than that no updates WRT WebGL Unity specifically. I suppose if you have a few cycles you could try downloading the template, flip it to WebGL and see how it goes. If you run into issues or Qs you can post them in the supabase-csharp discussion and I and some of the folks who maintain the repo can take a look.
@macawls11 ай бұрын
@@ChangeNode I had some problems with dlls (only webgl) so the best option I can think of rn is just doing all supabase logic in unity cloud code