Avoid Character Fall Below Terrain

beginner faq

Voxel Play 3 · Troubleshooting & FAQ

There're a few situations where your character or some other mob fall under the terrain:

1) Voxel Play environment has not finished creating the initial terrain.

Solution: wait until Voxel Play finish initialization using the event OnInitialized or check the flag env.initialized.

2) The chunk below the mob is not yet rendered (collider is missing).

Solution: check if the chunk is ready at the mob position with GetChunk(position) method.

3) Mob still fall under terrain sometimes:

Solution: add Voxel Play Behaviour component to your mob and enable the option "forceUnstuck". It's also recommended to enable the "Check Chunk Area" option.