Support the ongoing development of Laravel.io →
posted 8 years ago
Blade

Hi!

I'm creating a game in Unity 3D and deploying it as a Web Player. However, I would like to make a login page before starting the game.

I'm trying to put my game as a blade in Laravel, but it's not working properly. It looks like the WebPlayer is loading, but it never really starts.

Did someone already had this problem before?

Last updated 3 years ago.
0

Have you tried using middleware on the page afterwards? If that doesn't work have you tried putting a simple @if(Auth::check()) in your block around the code that loads the HTML5 game?

As for loading the HTML game, not sure what the issue would be. You would need to look at the console and see if any errors come up. I know on first time use the HTML5 player for Unity can take a bit to load

0

I did it. I've put the HTML and the .unity3d files generated by the Unity in the 'public' folder and used a <a></a> to access it. Thank you anyway!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.