Throw exception when no valid assetpath is defined

Fixes Issue 1579.
Add exclusion for voxel example