Ever wondered if you can convert C++ Project to Blueprint only Project?


This question was actually asked on UE4 AnswerHUB and it got me thinking is there way to do it? If you accidentally added a C++ class can you convert the project back to Blueprints? Or if you added a C++ class just to compile a plugin can you convert the project back to Blueprint only project?

Answer is YES! You can :). Here is how you do it.

IMPORTANT NOTE: As I said, this method can be used ONLY if you accidentally added a C++ class or to just compile a plugin. If you have classes created in C++ and using them then obviously you cant convert it back to Blueprints.

  • Remove Binaries folder (This folder will be created in your project root folder after adding a C++ class)
  • Delete Intermediate folder
  • Delete Saved folder (Frankly I am not sure if this is required but its better you delete it)
  • Delete Source folder (Optional)

After following the above steps, comes the important part. Open you uproject file in notepad or any of your favorite text editor and remove the whole Modules section and save.

For example, check the below uproject file with C++ classes added:

{
“FileVersion”: 3,
“EngineAssociation”: “4.11”,
“Category”: “”,
“Description”: “”,
“Modules”: [
{
“Name”: “ExampleProject”,
“Type”: “Runtime”,
“LoadingPhase”: “Default”,
“AdditionalDependencies”: [
“Engine”
]
}
]
}

After editing it should look like this:

{
“FileVersion”: 3,
“EngineAssociation”: “4.11”,
“Category”: “”,
“Description”: “”
}

You’re good to go. 🙂

Advertisements

About Satheesh (aka ryanjon2040)

Genuine Unreal Engine user

Posted on April 15, 2016, in Unreal Engine 4 and tagged , , , , , , , , , . Bookmark the permalink. 1 Comment.

  1. You sir are a lifesaver. Thank you. From someone who thought their project was corrupted beyond help (after converting to C++ I could no longer open or build it), it’s saved. Thank you.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: