Bug description:
Using a .jpg texture, when exporting to gltf, the original texture is cloned to the texture folder with original extension.
The exporting process should take care of the conversion to the required .png, otherwise the compiler isn’t happy
The package builder accepts “jpg” format. The conversion was managed by the Khronos exporter in Blender but in our case we don’t need to convert the textures in “png” format, we just need to copy them in the right folder.
In your case, you probably have an issue with your texture (and not the format), can you send it to us with your blend file to try to look at the issue.
Have to say that I could have thrown in a random image as a texture.
However …this is good chance to provide (in the compiler) better information regarding the failure.
In fact, the reference to the “format” led me incorrectly to the assumption that the format (extension) was wrong. So maybe the exception thrown by the compiler could be related to the size (in pixel) of the texture ? Iirc that information was shown in 2020 packageTool log, can’t witness the same in 2024 one posted above ([converting Bitmap] followed by a non documented number doesn’t increase situational awareness)
The more verbose and precise the error reporting is, the better user can recognize their errors and fix them
This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.
If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.