JernejHabjan / TrumpDefense2020

Visual representation of RTS game, supported by deep reinforcement learning algorithm Alpha Zero written in python.
https://jernejhabjan.github.io/TrumpDefense2020/
MIT License
6 stars 1 forks source link

Steam Api disabled #14

Closed JernejHabjan closed 6 years ago

JernejHabjan commented 6 years ago

This is shown as warning when exporting project. This may cause client to crash on computer that doesnt have installed unreal engine. Links:

Code below that has been generated is causing problems when building project

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;

public class TD2020 : ModuleRules
{
    public TD2020(TargetInfo Target)
    {

        MinFilesUsingPrecompiledHeaderOverride = 1;
        bFasterWithoutUnity = true;

        PublicDependencyModuleNames.AddRange(
            new string[] { 
                "Core",
                "CoreUObject",
                "Engine",
                "InputCore",
                "AIModule", "GameplayTasks",
                "RHI",
                "UMG", "Slate", "SlateCore"
            }
        );

        PublicDependencyModuleNames.AddRange(new string[] { 
            "OnlineSubsystem",
            "OnlineSubsystemUtils"
        });

        DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
    }
}
JernejHabjan commented 6 years ago

Steam API now works only when publishing using "debug" or "development" option and not "shipping"!