Hi, in Renderable class, method setMaterial(int submeshIndex, Material material) start on line 94, missing else statement.
public void setMaterial(int submeshIndex, Material material) {
if (submeshIndex < this.materialBindings.size()) {
this.materialBindings.set(submeshIndex, material);
this.changeId.update();
}
throw this.makeSubmeshOutOfRangeException(submeshIndex);
}
Thank you @KamikX ! A fix will be in our next update.
Fixed in the 1.3 release.
Most helpful comment
Thank you @KamikX ! A fix will be in our next update.