Creating Unit Tests for object rollback

Is there a way to interface with the TrueSync API and test rollbacks via unit test?

E.g. I would like to create a unit test that creates an instance of each unit, simulates for 4 frames, then rolls back and diffs against expected values, to allow us to confirm if our many component data classes have been coded and annotated correctly.

That way as new features come online, if someone misses an [AddTracking] somewhere, its quickly caught.

So is there a way to force a local rollback in offline mode?

Comments

  • Humm it would be a great feature @Xelnath, it could really help debuging and testing, for now you can't do that, but thanks for this suggestion.