Delete c++ completely from blueprint base project

I do not use C++ in my project, only Blue print, & I cannot compile the project as I have C++ codes (because I use a add C++ code) key somewhere in the project, & now I keep getting compilation error when I try to upgrade from 4.8 to 4.12.4.

I renamed the project before just so we know.

To summerise. I want to get rid of C++ code, as I think its the reason I cannot build in new version 4.12.

Otherwise, a solution how to retain the use code, but let me able to use 4.12.4 will be useful as well.

Key thing is I cannot open the project in 4.12.4, in 4.8, it is fine

Urgent help need. Thanks.

Here is copy of the error message

The project could not be compiled. Would you like to open it in Visual Studio?

Running D:/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe TheLockedRoomV02Editor Development Win64 -project=“D:/Epic Games/UE4_Projects/TheLockedRoomR01/TheLockedRoomR01.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
@progress pop
Performing 6 actions (4 in parallel)
[3/6] Resource TheLockedRoomV02.rc
[2/6] Resource ModuleVersionResource.rc.inl
PCH.TheLockedRoomV02.h.cpp
MyClass.cpp
TheLockedRoomV02.cpp
[6/6] Link UE4Editor-TheLockedRoomV02.dll
Creating library D:\Epic Games\UE4_Projects\TheLockedRoomR01\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-TheLockedRoomV02.lib and object D:\Epic Games\UE4_Projects\TheLockedRoomR01\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-TheLockedRoomV02.exp
TheLockedRoomV02.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static class TBaseDelegate & __cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)” (_imp?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAVFFixedUObjectArray@■■■$V@@XZ) referenced in function “void __cdecl `dynamic initializer for ‘GObjectArrayForDebugVisualizers’’(void)” (??__EGObjectArrayForDebugVisualizers@@YAXXZ)
D:\Epic Games\UE4_Projects\TheLockedRoomR01\Binaries\Win64\UE4Editor-TheLockedRoomV02.dll : fatal error LNK1120: 1 unresolved externals
ERROR: UBT ERROR: Failed to produce item: D:\Epic Games\UE4_Projects\TheLockedRoomR01\Binaries\Win64\UE4Editor-TheLockedRoomV02.dll
Total build time: 31.57 seconds

I tried again, & got the

Tried rebuild from source manually.

Does it run fine in 4.8?
[EDIT]: oops, didn’t read the last sentence.
I also faced a similar error while upgrading from 4.9.2 to 4.12.4 and I fixed it by tinkering a bit.

Can you explain how did you upgrade?

I clone a new project & select open (in 4.12.4).

Then it asked me if I want to build it. Then I got the error.

Okay.
What I did was:

I opened UnrealEditor 4.12 and opened the project with it. It gave me an option to make a copy for itself. I chose that option and it gave me the exact same error as yours.

Try this:
Go to your project in explorer > Content

Copy everything there is in the Content folder

Create a new project in 4.12 using the same template (if any) you used in 4.8

Browse to the newly created project’s physical location, and paste the Content folder there.

This might work. But always make sure you have your 4.8 project intact.

1 Like

I give it a shot. Thanks

No problem! Let me know if it works (or doesn’t).

You are my new best friend!

There are a lot of work to be done still, but I can open the project in the editor & run the game using editor as you mentioned. New project, Copy content folder to new project. Walla!!!

Haha! Glad to help you out :smiley:
It would be great if you marked it as an answer so that others can also know that it’s resolved :wink:

Done. Marked as answer.