Closed jem-suu closed 2 years ago
Thanks for the report!
The intention was that the exporter would create a new UV map if a mesh did not have any, however it is actually creating a new UV map for every material slot that does not specify a UV map, so if there are enough material slots and existing UV maps the exporter can exceed Blender's limit of 8 UV maps.
Before and after Blender 3.0.0 me.uv_layers.new()
returns None
when trying to create a 9th UV map, so this programming error passed silently by unnoticed, but in Blender 3.0.0 it raises an exception as encountered above.
Exporter 3.0.1 for Blender 3.0 & 3.1 includes a fix for this issue and a small quality-of-life improvement.
Bug Description
Expected Outcome: Object in question exports normally (even without SDK Compatiability) Actual Outcome: See traceback message below
Steps to Reproduce
This only came up when I'm working with a junction that has more than 7 materials, so I'm not 100% sure if the exporter was built with this in mind
Screenshot of materials and UVs in this one object
n.b. the missing textures don't seem to affect the export, having seperated the single object into multiple ones with less materials, they also seem to export normally
Traceback
Version Information