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

Not compatible with Unity 2018 #1

Open
pajama opened this issue Apr 18, 2018 · 0 comments
Open

Not compatible with Unity 2018 #1

pajama opened this issue Apr 18, 2018 · 0 comments

Comments

@pajama
Copy link

pajama commented Apr 18, 2018

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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant