Older model uploads and newer Blender versions - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Main Content (https://www.vg-resource.com/forum-103.html) +--- Forum: Site Discussion (https://www.vg-resource.com/forum-106.html) +--- Thread: Older model uploads and newer Blender versions (/thread-41150.html) |
Older model uploads and newer Blender versions - Sir Teatei Moonlight - 10-08-2022 I've been hearing around for a bit now that people are having problems importing .dae files into newer versions of Blender that were originally exported by older versions of Blender. It's not much trouble to do the import into an old Blender and bring the result file forward to the newer version, but this isn't exactly intuitive or a good user experience. Here's an example error that someone PM'd me: Code: Schema validation (Error): Error: ERROR_REQUIRED_ATTRIBUTE_MISSING Element: texture, Attribute: texcoord, Line: 110, Column: 31, Additional: I can't imagine it's too serious an error given that the older Blenders can import it just fine. Maybe someone who knows more about the .dae format than me can write a tool to auto-fix such files, and have it hosted it on the site like the model checker tool? Then, we can say "try this tool if a newer Blender gives you trouble with an older submission", and newer submissions can be run through the tool before uploading (by submitters ideally, by mods if necessary). RE: Older model uploads and newer Blender versions - scurest - 10-08-2022 It's this bug in Blender: https://developer.blender.org/T58093 It's easy to fix. Open the .dae in a text editor and search for lines like Code: <texture texture="something"/> and replace them with Code: <texture texcoord="uv" texture="something"/> You can do it automatically with find-replace <texture ⇒ <texture texcoord="uv". Technically this fix is still wrong, you're supposed to also insert something in the <bind_material> element. But Blender doesn't care, it will work anyway It doesn't even care what name you put in the texcoord, you can use texcoord="whatever" and it will still work. If you're making new .daes to upload you should still export from an up-to-date Blender though. |