Destruction not working in Unity 5.2.3f1+

nateply posted this 29 November 2015

Is anyone having problems getting exploding/destruction to work in a built runtime? Things work great when previewing in the editor, but not in a compiled build. I've tried x86, x86_64, and WebGL. It's as if there are no collisions being detected (things pass right through each other undetected). However, the particles work. Specifically, this is happening on a fresh install of PicaVoxel in the PicaVoxelIntro scene on Unity 5.2.3f1 and the latest beta 5.3.0f2. I've uninstalled and reinstalled Unity, but no dice.

Order By: Standard | Newest | Votes
GarethIW posted this 29 November 2015


It's because the included collision scripts check for volumes with a tag named "PicaVoxelVolume". Odd things happen when you try and ship assets with custom tags, and result in the behaviour you're seeing.

It's an easy fix though! Just add a tag named PicaVoxelVolume and your compiled builds should work as intended.

See this Twitter conversation for more information:

nateply posted this 29 November 2015

Wow, that did it! Thanks! Loving this asset, by the way.

Our 132 members have posted 493 times in 119 discussions