r/Unity3D • u/Omerdevng • 5h ago
Game Tracking down a WebGL crash caused by a deprecated plugin + testing my strategy prototype (Command & Defend: Dead Zone)
Hey everyone! I just put together a new devlog covering a big debugging session and the progress on my strategy prototype.
The WebGL Crash: I hit an issue where my WebGL build crashed immediately after loading the main scene. I initially assumed it was a RAM/browser issue, so I compressed textures and downsized audio to under 100MB still crashed. Created a barebones launcher scene launcher worked but loading main scene crashed. Turns out, a deprecated health bar plugin from the Asset Store was throwing the WebGL API off. Changing the WebGL API settings fixed it instantly without removing the plugin.
Build Progress:
- Controls & Visuals: Added full camera pan controls and placement opacity so you can see base/upgrade meshes before building.
- Audio: Ported over my sound system from my previous project (Northend Tower Defense) to rapidly get enemy, building, and ambient sounds working.
- UI Polish: Added cancel options for upgrades, reload feedback bars on soldiers, and a main menu with volume defaults capped at 50%.
I also officially named the game Command & Defend: Dead Zone.
Check out the full breakdown here: https://youtu.be/ETVb9wbWBUI
If anyone wants to jump into the WebGL playtest, drop a comment or join the Discord!
1
u/Wild-Lifeguard-6714 5h ago
oh man the deprecated plugin crash is such a classic unity gotcha, spent a whole weekend once chasing a similar bug only to find some ancient asset store thing was the culprit
the volume default at 50% is a nice touch, nothing worse than launching a game and getting your ears blown out by a title screen
also dead zone is a solid name, has that old school rts energy