In the new version use entSkin instead of texSkin and make sure, that the material is defined above your starter function.