Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Build fails in Unity 2018.1.0b9 #861

Closed
dmonego opened this issue Mar 3, 2018 · 3 comments
Closed

Build fails in Unity 2018.1.0b9 #861

dmonego opened this issue Mar 3, 2018 · 3 comments

Comments

@dmonego
Copy link

dmonego commented Mar 3, 2018

Summary:
When trying to build in the latest beta version of unity, the build will fail with the following message:

\Assets/GoogleVR/Editor/GvrBuildProcessor.cs(29,7): error CS0535: 'GvrBuildProcessor' does not implement interface member 'UnityEditor.Build.IPreprocessBuild.OnPreprocessBuild(UnityEditor.Build.Reporting.BuildReport)'

Found using:

  • Google VR SDK version: 1.120.0
  • Unity version: 2018.1.0b9
  • Phone manufacturer, model, and O/S version: any iOS
  • Viewer manufacturer & model: N/A

Steps to reproduce the issue:

  1. Start unity
  2. Import HelloVr scene.
  3. Configure as per ios quickstart documentation
  4. Build

Workarounds:
Don't use a beta release.

Additional comments:

@rusmaxham
Copy link
Contributor

This will be fixed in 1.130.

@rusmaxham
Copy link
Contributor

In the meantime, you can work around the issue by adding this to the body of the GvrBuildProcessor class:

#if UNITY_2018_1_OR_NEWER
  public void OnPreprocessBuild(BuildReport report) {
    OnPreprocessBuild(report.summary.platform, report.summary.outputPath);
  }
#endif

@rusmaxham
Copy link
Contributor

Fixed in v1.130.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants