Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UE4 BuildSettingsVersion.V2 #1319

Merged
merged 4 commits into from
Feb 5, 2020
Merged

Support UE4 BuildSettingsVersion.V2 #1319

merged 4 commits into from
Feb 5, 2020

Conversation

drichardson
Copy link
Contributor

@drichardson drichardson commented Feb 5, 2020

Fixes #1318

Tested against default UE4 4.24 C++ project using the following two Target.cs files:

V1

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class AgonesTestEditorTarget : TargetRules
{
	public AgonesTestEditorTarget( TargetInfo Target) : base(Target)
	{
		Type = TargetType.Editor;
		DefaultBuildSettings = BuildSettingsVersion.V1;
		ExtraModuleNames.AddRange( new string[] { "AgonesTest" } );
	}
}

V2

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class AgonesTestEditorTarget : TargetRules
{
	public AgonesTestEditorTarget( TargetInfo Target) : base(Target)
	{
		Type = TargetType.Editor;
		DefaultBuildSettings = BuildSettingsVersion.V2;
		ExtraModuleNames.AddRange( new string[] { "AgonesTest" } );
	}
}

DefaultBuildSettings = BuildSettingsVersion.V2.
@markmandel
Copy link
Member

@WVerlaek - are you able to take a look at this and the underlying issue?

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: ea1f9dec-d0d4-486f-8d60-58a12a1718dc

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1319/head:pr_1319 && git checkout pr_1319
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-59458ec

Copy link
Contributor

@WVerlaek WVerlaek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for finding/fixing this. Have also verified this still works on a UE4.22 project

@google-oss-robot
Copy link

@WVerlaek: changing LGTM is restricted to collaborators

In response to this:

LGTM, thanks for finding/fixing this. Have also verified this still works on a UE4.22 project

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@markmandel markmandel added area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs. labels Feb 5, 2020
@markmandel markmandel added this to the 1.4.0 milestone Feb 5, 2020
Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing the review! Approving!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: drichardson, markmandel, WVerlaek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 0a7da008-5fc4-4e29-8fb3-849e4f47c9e4

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 7cc6fc55-2ed5-4073-bef7-65caae7868f3

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1319/head:pr_1319 && git checkout pr_1319
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-92426ba

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 562069bb-cb30-46a9-b5c0-8aae8db75f98

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/GoogleCloudPlatform/agones.git pull/1319/head:pr_1319 && git checkout pr_1319
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.4.0-6cf2b7f

@markmandel markmandel merged commit 05dcb63 into googleforgames:master Feb 5, 2020
@drichardson drichardson deleted the fix-buildsettingsV2-compile-error branch February 5, 2020 18:32
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
…ogleforgames#1319)

DefaultBuildSettings = BuildSettingsVersion.V2.

Co-authored-by: Mark Mandel <mark.mandel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/user-experience Pertaining to developers trying to use Agones, e.g. SDK, installation, etc kind/bug These are bugs. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UE4 plugin fails to compile with default UE4 4.24 project
5 participants