Closed xeolabs closed 5 years ago
Found cause of this bug: GLTFPerformanceLoader failing to generate unique geometry IDs in some cases. Verified by randomly generating those IDs. Causes some geometries to never be instanced, with other geometries being instanced in their place, due to ID clashes.
Some objects that have reused geometries are missing after the model has been imported.
If we disable geometry instancing, to force geometry batching, by inserting the
false
in GLTFPerformanceLoader:then those geometries are visible again. So this looks like a breakage in the geometry instancing mechanism of PerformanceModel.