Store RecordKey and RecordRef values in fields (Unity3D compatibility)