I have created a Unity game and exported the build with WebGL. I then placed the game files inside the public folder in my Next.js website. I then used iframes to try and display the game so users can play the game on my site. My website is hosted with cloud flare.
However, the game does not load. I have tried deleting caches and rebuilding the game from Unity, but the game still is not loading on the website.
Here is my file structure: File Structure
Thank you!
Arthur Kaza is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.