About FollowerEntity and RVO

image

How can I fix this error. The version is 5.4.4

// Create and copy settings
RVOAgent newRVOSettings = follower.rvoSettings;

// Set your new setting(s)
newRVOSettings.locked = false;

// Apply them
follower.rvoSettings = newRVOSettings;

You have to assign a new one since follower.rvoSettings returns a temporary value.