GameDriver object serialization uses the gdio.common.objects library, which contains all of the object types used by GameDriver to facilitate testing. These are representations of the native objects that can be found in UnityEngine, some of which are lite versions of those objects in order to keep object size to a minimum. The full library definition can be found on our GitHub here.


In case the common objects library does not include the definition of an object type required to test your project, we have provided the ability to extend GameDriver's object serialization, and easily leverage it within your test. 


Attached below is a sample custom serialization project that you can follow to build your own serialization class. Simply define the custom object class as needed to fit your project needs, compile it, and add the resulting library into the GDIO folder in your Unity project. The GameDriver agent will pick it up automatically.