Import Assets from Demo Project to Own Project

I was wondering if it is somehow possible to use assets from Demos in Marketplace in your own project and how to actually do that.
Thanks in advance :slight_smile:

You can use migrate assets tool:

Thanks for that :slight_smile:

Hi there! I tried using this method to export Buggy Vehicle included on DesertRallyrace project with all dependencies but everytime I try to drop blueprint on my own project I get a message saying

“Error VH_Buggy could not be loaded because it derives from an invalid class. Check to make sure parent class for this blueprint hasn’t been removed!”

Am I missing some step for exporting asset?
Thanks!

Hey SeligmannKevin,

reason VH_Buggy Blueprint will not work in project you migrated it to is because it is derived from a Class that project does not already have set up. In VehicleGame project, create a new Blueprint and search for “VH_Buggy” in Custom Classes field, and you will see that it is derived from BuggyPawn, which is in turn derived from WheeledVehicle, which is a Pawn Class. WheeledVehicle class is only in Vehicle Templates by default, and BuggyPawn is only in VehicleGame by default.

You can do one of two things to get Buggy working in your project. If it is a C++ project, you can find WheeledVehicle and BuggyPawn .h and .cpp files, copy them to your project, and recompile. Or, if you’re using a Blueprint project and feel comfortable using Visual Studio 13, you can go to File > Add Code to Project and copy files over that way.

You will need to do same with VH_Gamemode, VH_HUD, and VH_PlayerController files. Then in your project, make sure you set GameMode Override to VH_Gamemode, your Default Pawn Class to VH_Buggy, etc. At this point you’re basically imitating VehicleGame, because each of these reference others and a simple copy/paste isn’t going to work, so reference how VehicleGame is set up and you should be fine.

Hope that helps!

The “Add Code to Project” can be found in UE4 Editor under “File” not in VS 13 (:

hey
im using Visual Studio 13 community edition
and there is no Add Code to Project in File

im too confused right now
when i go File > Add Code to Project in ue4 as y said
i got list and when i search for BuggyPawn.h theirs nothing to see

Hi,

I don’t believe it’s possible to do it that way anymore. You’ll need to follow first method of copying .h and .cpp files to your project and recompiling.