the API of motion.new_version has changed. Before this rework it has set the 'use_version' of the motion to a new version. Now it only returns a MotionVersion-object in which the motion is already set to a motion object. But if you want to use this version-object, you also have to call: motion.use_version = motion.new_version.