"ERROR: Unable to find target 'UE4Game'" - Packaging fails

Well, I ended up just migrating to a fresh project. I would assume this error happens because of how I’ve been upgrading my project through many engine versions over the course of a few years. It’s all good now.