I am having trouble loading a model file exported directly from MagicaVoxel with textures, but the loader complains about the 1x256 texture palette image associated with the .mtl file for having broken aspect ratio.
The stacktrace of the error:
My model, blockstate file and the corresponding textures are uploaded in attatchments.The model renders with texture correctly when imported into other model viewers like blender.
ml_blockbase.mtl
ml_blockbase.obj
My resource dir structure: