Description
Creating a relationship class that is ObjectID-based is not supported for branch versioning.
Solution
Add GlobalIDs to your data and use the GlobalID field as the primary key. Alternatively, run the Migrate Relationship Class tool on the ObjectID-based relationship class before using the data in a branch versioning environment.