TheSleepyKoala / Svelcordity

A template repository for integrating Discord Activity with SvelteKit and Unity WebGL, featuring a sample roguelike game.
MIT License
63 stars 6 forks source link

discordSdk.ready() never return #3

Open idnemo opened 3 weeks ago

idnemo commented 3 weeks ago

Hi, I am trying to use discordSdk's auth, but it stucks on discordSdk.ready(). I tried google it, and it seems this issue has related with vite 's hot module reloading feature. https://blog.waveplay.com/how-to-fix-stuck-ready-event-in-discord-embedded-app-sdk/ Same issue happend on svelcordity, I am wondering if you have encountered this issue. Nice template by the way. Thanks

Chizaruu commented 3 weeks ago

Thanks for the link, i'll check it out soon.

idnemo commented 2 weeks ago

I founded this issue only happend when I am runing discord activity on local host. After I deployed it by cloudflared, it works