Getting Started
Requirements, Installing the plugin and opening the overlay.
Last updated
Requirements, Installing the plugin and opening the overlay.
Last updated
To use the Emergence Unreal Engine plugin, you will need the following:
Windows or MacOS (Emergence only supports development and games on these platforms currently)
Unreal Engine 4.27.2, 5.2, 5.3, 5.4 (only 5.2 and up are supported on Mac OSX)
For Windows, the appropriate version of Visual Studio for the version of Unreal you wish to use (see here for the versions for 5.1+ and here for 4.27-5.0).
For MacOS, the appropriate version of XCode for the version of Unreal you wish to use with the license accepted.
We have a sample project if you just want to skip to seeing everything working, check it out here!
Extract the Emergence plugin zip file to your game’s plugin folder (if you don’t have a plugins folder, just create one called “Plugins” at the root folder of your game e.g. one one with Source, Saved, Content, etc). Extract the zip to this folder. It should look something like [Your Game]/Plugins/Emergence/Emergence.uplugin
, for example.
Open your project. You may receive a window that looks like this:
Press yes and wait for it to compile the modules. Your project should open (if it doesn’t, please send us the build log from [Your Game]\Saved\Logs
).
When your game project opens, the plugin should be automatically enabled.
If you wish to use Emergence's C++ API from you're game's code, you'll need to:
Add the Emergence
module
Set the C++ standard to 17 or higher
to you're games Build.cs file, for example:
In the following example, we mapped opening the overlay to a keypress of Z (use whatever key you feel best fits your game). This blueprint has been created inside the PlayerCharacter, which is why it has a "Get Controller" node at the top left. There is no need to worry about how the player closes the overlay, that is handled for you by the overlay itself. To get the "Emergence" node, search "Get Emergence Service", then drag off of the Emergence node to find the "Open Emergence UI" node.
Remember to set the Emergence UI class to Emergence UI BP
!
At this point, you can now run your game and your users will be prompted with the UI to connect their wallet. Users can then create, edit and load in their personas into your game! Welcome to the world of Web3 and Interoperability!
We recommend checking out these two Tutorials to keep going:
"How to read / write to smart contracts" If your game is utilizing your own web3 assets and smart contracts, then you'll want to check out this tutorial next
"How to get VRMs working with Emergence". Setting up this section will allow your users to load their Game Ready Avatars that are linked to their personas, into your game world!