Hi everyone,
I’m having a issue while trying to add C++ to my existing Blueprint-only project in Unreal Engine 5.5.
For the Visual Studio I already installed the 2022 Community Version with:
- .NET desktop development
- Desktop Development with C++
- Game development with C++
- Game development with Unity (I had this from before when I used Unity in the past)
What I Did:
- I started with the Top Down Blueprint template
. - I wanted to add a custom C++ class, so I clicked Add → New C++ Class (created a
DummyActor
). - After adding, I got this message:
Project now includes sources. Please close the editor and build from your IDE.
- I closed the editor, opened the generated
.sln
file in Visual Studio, and tried to build.
The build fails with:
Unable to find parent class type for ‘APaperCharacter’ named ‘ACharacter’
Unable to find parent class type for ‘AArchVisCharacter’ named ‘ACharacter’
Unable to find parent class type for ‘AEQSTestingPawn’ named ‘ACharacter’
The command ““D:\Program Files (x86)\UE_5.5\Engine\Build\BatchFiles\Rebuild.bat” GemRunnerEditor Win64 Development -Project=“D:\Users\lazar\Documents\Unreal Projects\GemRunner\GemRunner.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code -1.
Please help!