Potential Issues & Solutions
Issue: Web build fails to initialize after publishing
Solution: In Player Settings, locate the Compression Format settings and change Brotli/Gzip compression to Disabled.
Issue: When testing VR platform (selected in Platform Selection in Vertex Form SDK) while on Web in Unity's Build settings, hands are missing.
Solution: Go to Project Settings, find XR Plugin Management, open Windows tab and click "Fix all." It might cause Skybox to disappear. See solution for missing skybox below.
Issue: Glow shader is missing or lighting appears dark on WebGPU builds
Solution for Web platform: Navigate to Project Settings, Quality, and ensure that UniversalRP-WebGL (Universal Render Pipeline Asset) is selected and HDR is checked.
Solution for Android platform: Navigate to Project Settings, Quality, and ensure that UniversalRP-MediumQuality is selected. you will have to select different URP profiles for each platform.
Issue: Skybox is missing in Login scene
Solution: Locate "Main Camera" inside "Complete XR Origin Setup Variant," navigate to Environment in the inspector, and select Background type to "Skybox"
Pro Tip: If developing for both Web and Android (Meta Quest), constantly switching build platforms in Unity can become very time consuming.
A recommended workflow is to keep the same project synced through GitHub, while creating two separate local clones of the project:
Keep both projects open in Unity with their respective platform settings already selected. This allows simultaneous work on both versions without rebuilding the platform configuration every time a switch is needed.
When changes are made: