SDFr icon indicating copy to clipboard operation
SDFr copied to clipboard

Build Error: 'SDFBaker' does not implement inherited abstract member 'AVolumeBaker<SDFVolume, SDFData>.CreatePreview()'

Open ShiftedClock opened this issue 6 years ago • 1 comments

Reproduction steps: In the Build Settings, add Example/Scenes/RaymarchExample to the "Scenes In Build" list, and click Build.

Full Error text:

Assets\SDFr\Components\SDFBaker.cs(8,18): error CS0534: 'SDFBaker' does not implement inherited abstract member 'AVolumeBaker<SDFVolume, SDFData>.CreatePreview()'

Error building Player because scripts had compiler errors

Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:96 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


I'm not sure why this error is happening at build-time, when it runs fine in the editor.

One option would be to exclude SDFBaker from builds, but I'm not sure how to do this.

ShiftedClock avatar May 14 '19 01:05 ShiftedClock