Fixed a bug with the texture (instead of getUnlocalizedName() is should be getUnlocalizedName2())