This version of Unity is unsupported.

SerializedObject.targetObject

public Object targetObject;

Description

The inspected object (Read Only).

When multi-object editing, the targetObject property will just return the first of the edited objects. To get all the objects, use the targetObjects property instead.