-
Notifications
You must be signed in to change notification settings - Fork 1
Gameplay Containers Setup Guide ‐ Unify Demo Project
To get the demo project, you can either clone the repository here or manually download it, currently its for unreal engine version 5.3 or higher
NOTE: If an image is not clear, right click it and choose Open Image In New Tab
Step 1: Download the Gameplay Containers plugin from the Epic Games Launcher for whatever engine version you wish to use from 5.1 and above.
Step 2: After downloading, you can find the plugin in the following directory:
{EngineDirectory}/Plugins/Marketplace/GameplayContainers

Step 3: Make sure your project is closed (the editor is not running), then copy the GameplayContainers plugin folder to your project and paste it inside the Plugins folder.
-
Note: Create the
Pluginsfolder if it does not exist already, and paste theGameplayContainersfolder in there.
See the image below for reference:
Step 4: Open your project in Unreal Editor, and go to Edit > Plugins > Gameplay category. Ensure that the plugin "Gameplay Containers" is enabled. If it's not, click on the enable checkbox to the left, and you might be prompted to restart the editor.
See the image below for reference:
Step 5: Open the project solution in your favorite IDE, I use JetBrains Rider IDE for UnrealEngine.
- Go to
Unify.Build.csfile and addGameplayContainersto thePublicDependencyModuleNames
Step 6: Right click Unify.uproject file and click on Genereate Visual Studio project files
Step 7: Implementation, we will need to change few things to implement the plugin.
- Navigate to
Unify.hheader file in your IDE solution files
- Now, you will need to enable Compile Gameplay Containenrs plugin code by changing
COMPILE_GAMEPLAY_CONTAINERSvalue from 0 to 1
- Next, you will need to navigate to
UnifyPlayerController.hand edit the code shown in the image below, by uncommenting the UFUNCTION & UPROPERTY and then commenting the macro. Follow the images below.
- Next, go the
UnifyPlayerController.cppand make sure there's no errors or missing includes.
- Next, go the character class for
Unifydemo project, which can be found inCharacterfolderUnifyCharacter.h
- Next, go the
UnifyCharacter.cppand make sure there's no errors or missing includes.
- Next, in your IDE navigate to
Plugins/GameplayContainers/GameplayContainers.Build.csand addUnifyto thePublicDependencyModuleNames
- Next, navigate to
Plugins/GameplayContainers/Core/Abilitiesand editGameplayAbility_Base.hheader file and change the ability parent class to useUnifyGameplayAbilityinstead of the default one.
- We're pretty much done here, now just compile the project and launch the unreal editor from IDE or manually.