Unable to package project after adding New C++ Code

Hi.

I have been crawling the forums and so on to try to find an answer for this issue. Even if it’s a new project or adding to an old one. I still get the same issue. And it is no different if I use a different version. I even reinstalled windows with fresh engine installs and same thing happens.

New or working project → New C++ Code… (And I know the code works as it compiles and runs in the editor without any issues.) → Package project for Windows 64bit… → And then the build failed comes up.

Hello,

Could you please attempt to package again and when it fails, provide the full output log from your project’s Saved->Logs folder?

Thank you

After taking a look at your log file, I’m seeing this error:

ERROR: AutomationTool terminated with exception: System.ArgumentException: An item with the same key has already been added.

Here are a few resolved posts where users experience the same issue. Take a look at them and let me know if the solutions resolve your issue.

Have a great day!

Sorry. I forgot to add it. I had it ready before I postet. My bad.link text

This is unbelievable. After finally being able to understand what Samantha said the first link you gave me there. It worked like a charm.

Thank you very much for your help and time Sean.
You have a great day as well. :slight_smile: