tencent cloud

Feedback

Integrating SDK

Last updated: 2022-06-08 15:51:45

    Overview

    This document describes how to configure a Unreal Engine project for the GME APIs for Unreal Engine.

    Downloading SDK

    1. Download the applicable demo and SDK. For more information, please see SDK Download Guide.
    2. Locate the SDK resources for Unreal Engine on the page.
    3. Click Download. After decompression, the downloaded SDK resources include the following files:
      File Name Description Description
      GMESDK.uplugin Plugin file Plugin configuration file
      Resources Plugin resource file Plugin resource file
      Source SDK files SDK library files and code files for various platforms, such as header files
      Platforms supported by SDK for Unreal Engine:

      SDK for Unreal Engine has integrated Windows, macOS, Android, and iOS platform architectures. If you need console platform architectures, submit a ticket.

    Project Configuration

    Step 1: import Plugins files

    In the Unreal Engine project directory, open the Plugins folder (create it if it does not exist) and copy the SDK into it as shown below:

    Step 2: compile the plugin

    After importing, compile the plugin in Unreal Engine.

    Step 3: complete compilation

    After compilation is completed, the following directories will appear in VS 2015.

    Step 4: open to view the GME plugin

    Open the Unreal Engine again, click Edit, and click Plugins to view the GME plugin. Make sure that the GME SDK is in Enabled status.

    Adaptations of Different Unreal Engine Versions

    Unreal Engine 4.21 and above

    If you are using Unreal Engine 4.21 or higher, you need to add the following code after downloading the GME sample code for Unreal Engine:

    AUEDemoLevelScriptActor::AUEDemoLevelScriptActor()
    {
      PrimaryActorTick.bCanEverTick = true;
    }
    
    Note

    Tick is disabled by default and must be enabled manually.

    Unreal Engine 4.26

    If you are using Unreal Engine 4.26, you need to download the adaptation file and import it into the project. The downloaded file contains two folders: Source and Plugins.

    • For a demo project, import both folders into the project in an overwriting manner.
    • If you only need the GME SDK, import the Plugins folder only.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support