Closed Qwasyx closed 11 months ago
Update on this: It seems to primarily be the PoseRecorder
that keeps recording throughout the serialization caused by Zenject not deconstructing the object in time. We probably should simply disable it once Export()
is called on it.
There seems to be a race condition in
ReplayFileWriter.Write
. Potentially we need to make theExport
functions return actual copies of the data (or even more likely do a swap return) to prevent this from happening.In general we should check if more things are prone to race conditions in this system.