resonance-audio / resonance-audio-unity-sdk

Resonance Audio SDK for Unity
https://resonance-audio.github.io/resonance-audio/develop/unity/getting-started
Other
297 stars 38 forks source link

Build fails in Unity 2018.1 #24

Closed unnamed7 closed 6 years ago

unnamed7 commented 6 years ago

This is same issue as GVR's https://github.com/googlevr/gvr-unity-sdk/issues/861

ResonanceAudioBuildProcessor needs to implement the new interface otherwise the build fails.

Workaround is same as above add this

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

to the body of ResonanceAudioBuildProcessor.cs

Takashi

anokta commented 6 years ago

Thanks for reporting Takashi! Indeed, that's the fix - will be updated with the next release.

See resonance-audio/resonance-audio@e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b for reference.

anokta commented 6 years ago

Fixed in v1.2.1.