Skip to content

Not compatible with Unity 2018 #1

Description

@pajama

BuildPipeline.BuildPlayer now returns a BuildReport. Buildreport has an enum that represents the build's status.

Here's what I had to change in each build target to get it to work.

BuildReport buildMessage = 
    BuildPipeline.BuildPlayer(GetEnabledScenePaths().ToArray(), buildPath, BuildTarget.Android, BuildOptions.None);

if (buildMessage.summary.result == BuildResult.Succeeded)
    BuildReporter.Current.IndicateSuccessfulBuild();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions