diff --git a/Packages/jp.co.cyberagent.buildmagic/BuildMagic/Editor/BuildPlayerOptionsBuilder.cs b/Packages/jp.co.cyberagent.buildmagic/BuildMagic/Editor/BuildPlayerOptionsBuilder.cs index 7377d23..fcffa5a 100644 --- a/Packages/jp.co.cyberagent.buildmagic/BuildMagic/Editor/BuildPlayerOptionsBuilder.cs +++ b/Packages/jp.co.cyberagent.buildmagic/BuildMagic/Editor/BuildPlayerOptionsBuilder.cs @@ -107,6 +107,12 @@ public void AddExtraScriptingDefines(IReadOnlyList extraScriptingDefines /// public BuildPlayerOptions Build() { + var options = _options; + +#if BUILDMAGIC_NO_DETAILED_BUILD_REPORT + options &= ~BuildOptions.DetailedBuildReport; +#endif + return new BuildPlayerOptions { locationPathName = string.IsNullOrWhiteSpace(_locationPathName) ? GetDefaultBuildPath(_buildTarget) : _locationPathName, @@ -115,7 +121,7 @@ public BuildPlayerOptions Build() target = _buildTarget, targetGroup = _buildTargetGroup, subtarget = _subtarget, - options = _options, + options = options, extraScriptingDefines = _extraScriptingDefines.ToArray() }; }