I'm creating variants of my models. They differ only with the material, so I thought that I'd need only one BIN file for many variants of GLTF files. I guess it will save memory etc. Tested it and it worked fine... until...
Here comes LODs. After adding LOD lines to XML it can't be compiled anymore (no bin file found error). Looking at the content of the temporary file, the BIN generated by the compiler has the wrong name. Probably taken from XML file instead of the one that is linked in GLTF file that points to it.
The only solution, for now, is to create pair of GLTF and BIN files. I'll repeat that it occurs only when using LODs.
Any ideas on how to fix this? Or maybe I'm overreacting and it has no impact on performance?
PS: I'm using the external compiler, not the in-game one
PPS: One more update.
I've tried in-game compiler and it was better... kinda. With one model it worked, but with another prepared exactly the same way it didn't, giving me:
"AssetGroups | Failed to update all timestamps for files used in a command"