Using OctopusDeploy v2019.13.0, self-hosted.
Project AA existed and had a Automatic Release Creation trigger.
We cloned project AA to project BB, and made the necessary additional changes to process and variables.
When trying to create a release for project BB, edit project settings, or Change or Disable ARC, we got an error similar to this:
Unable to find package reference on deployment action ‘Deploy package AA’ in project Projects-153
Note that in project BB, the step had been renamed already. The name shown in the error message was the name of that step in the original project AA.
Fumbling around, I had the idea to disable ARC in project AA, then clone again. To my surprise, just disabling ARC in project AA made project BB usable – we were able to disable or change ARC just fine. And re-enabling ARC in project AA did not produce any further problems.
Unfortunately, an attempt to reproduce the error from scratch – start with a project, clone it, etc. – was unsuccessful.