[UNITYSDK-145] Minor fix to RoarObjectFactory