I have this issue with migrated tasks, but when I copy the line with "Copy to shared clipboard" to a new task the line works well, If I copy to the first line on the migrated task to discart other kind of problems I get the same error. When I've tried to copy again from the new task to the old(migrated) the same error occurs. This issue occurs with Image recognitions, object clonings and if (With image condition). The bot packages version´s are the same.
ERROR: "Unable to read the target image file. Use a different image format or a valid image file"
I can't access to answer's URL of that post, but I think that is probably the same.