SpiderPig Posted January 23 Share Posted January 23 This model's been exported from blender. Loading it in the editor crashes the program and loading it my game does the same. Haven't used this file in a while but it has worked before. PineLarge_001.zip Quote Link to comment Share on other sites More sharing options...
Josh Posted January 23 Share Posted January 23 LOD 1 and 2 load fine, although they are missing DDS textures... Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Solution Josh Posted January 23 Solution Share Posted January 23 It looks like the image indexes aren't correct and this is not a valid glTF file. I added some checks to prevent crashing, but the image indexes are wrong. It would appear this indicates an error in the Ultra glTF saver. If you can provide the original file, before it was saved from Ultra, I will test with that. The images section only contains four images: "images": [ { "uri": "PineLeaves_DIFF.png" }, { "uri": "PineLeaves_NORM.png" }, { "uri": "PineTrunk_DIFF.png" }, { "uri": "PineTrunk_NORM.png" } ], But the textures section is referencing images greater than 3: "textures": [ { "extensions": { "MSFT_texture_dds": { "source": 1 } }, "source": 0 }, { "extensions": { "MSFT_texture_dds": { "source": 3 } }, "source": 2 }, { "extensions": { "MSFT_texture_dds": { "source": 5 } }, "source": 4 }, { "extensions": { "MSFT_texture_dds": { "source": 7 } }, "source": 6 } ] 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted January 25 Author Share Posted January 25 I re-tested this with the original file and appears both Blender and Ultra are converting to GLTF properly now. This file must have been just a dud. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.