diff --git a/Editor/BuildCesiumForUnity.cs b/Editor/BuildCesiumForUnity.cs index 1826292f..9330e062 100644 --- a/Editor/BuildCesiumForUnity.cs +++ b/Editor/BuildCesiumForUnity.cs @@ -121,7 +121,8 @@ private static void BuildPlayer(BuildTargetGroup targetGroup, BuildTarget target locationPathName = Path.Combine(outputPath, "game"), targetGroup = targetGroup, target = target, - scenes = new[] { "Assets/Scenes/Empty.unity" } + scenes = new[] { "Assets/Scenes/Empty.unity" }, + options = BuildOptions.BuildScriptsOnly }); if (report.summary.totalErrors > 0)