Recall & Review
beginner
What is a WebGL build in Unity?
A WebGL build in Unity is a way to export your game so it runs directly in web browsers without needing plugins, using WebGL technology for graphics.
Click to reveal answer
beginner
Which Unity menu option do you use to create a WebGL build?
You use File > Build Settings, then select WebGL as the platform and click Build.
Click to reveal answer
intermediate
Why is it important to test your WebGL build in different browsers?
Different browsers may support WebGL features differently, so testing ensures your game works well and looks good everywhere.
Click to reveal answer
beginner
What is the role of the 'index.html' file in a WebGL build?
The 'index.html' file loads your WebGL game in the browser and sets up the environment for the game to run.
Click to reveal answer
intermediate
Name one common optimization to improve WebGL build performance.
Reducing texture sizes or compressing assets helps the game load faster and run smoother in browsers.
Click to reveal answer
Which platform must you select in Unity's Build Settings to create a WebGL build?
✗ Incorrect
You must select WebGL to build your Unity project for web browsers.
What file typically launches your WebGL game in a browser?
✗ Incorrect
The index.html file loads the WebGL content and starts the game in the browser.
Which of these is NOT a reason to optimize a WebGL build?
✗ Incorrect
Increasing file size is not an optimization; it usually slows loading and performance.
What technology does WebGL use to render graphics in browsers?
✗ Incorrect
WebGL is based on OpenGL ES, a graphics API for rendering 2D and 3D graphics.
Which Unity feature helps you switch your project to WebGL build?
✗ Incorrect
The Platform Switcher in Build Settings lets you change the target platform to WebGL.
Explain the steps to create a WebGL build in Unity and how to test it in a browser.
Think about the menu options and what files run the game.
You got /5 concepts.
Describe common challenges when deploying Unity games as WebGL builds and how to address them.
Consider what can go wrong in browsers and how to improve user experience.
You got /5 concepts.