Errors During GLTF Exports After 3-5 Successful Exports (Blender Exporter 6.4.6)

Version: 1.7.16.0
Exporter: 6.4.6

Frequency: Frequently

Severity: High

Bug description: After 3-5 exports,

the export gives me an error saying “Error During GLTF Export”. The first few times work perfectly fine without issues, but after multiple re-exports, even when nothing on the model itself is actually changed, the export fails.

Quitting blender and then re-opening it and exporting again (without making any changes whatsoever) gives you a valid export again:

Repro steps: Export a model multiple times while having the sim open

Try turning off live asset reload in the dev menu options. I’ve had similar issues with aircraft. Not sure it will help in scenery.

Well, that kind of defeats the point of multiple exports after another doesn’t it. If I turn that of I also don’t need to re-export since the sim won’t load it anyways. Doing that costs a lot of time if I constantly have to re-build the project and load it again; and what’s the point of turning off a feature that was highly requested for 2024 because we did not have it in 2020.

I mean yes, it’s a workaround at best, but not a long-term solution.

Hello @MichaelWimma-RWProfiles

It is likely due to the game locking the files while the in-game reload system is refreshing the glTF files and textures. As a result, when the export starts while those files are locked, the exporter cannot complete the export.

This also affects 3ds Max.

We are currently exploring ways to mitigate this and are running some tests.

Could you please send us your .blend scene, including the textures, via private message?
See section 3) Provide Private Content.

Regards,
Boris

Hello @Boris

requested files have been sent to private content.

Best,
Michael.