I've never used unity before but i imagine you've got some really bad compile settings for exporting to the web, i'd recommend taking a look at them for the next project i almost thought the game was broken!
Can you explain what was wrong with it so I can look more into it. Tho I will prob be trying a new engine next Jam still be interested to see if it is something on my side for future :3