Build addressables in custom build script

Hi everybody! We’re trying to build our player using Github actions, for this we’re using the GitHub - game-ci/unity-builder: Build Unity projects for different platforms github action.
In order to build the assets, we’re providing our own build script to the CI action.
The final build doesn’t contain the addressables for some reason. Am I missing something? The docs aren’t too detailed about how to build the addressables in custom scripts.

Here’s a piece of code for the build script:

// Define BuildPlayer Options
  var buildOptions = new BuildPlayerOptions {
    scenes = scenes,
    locationPathName = options["customBuildPath"],
    target = (BuildTarget)Enum.Parse(typeof(BuildTarget), options["buildTarget"]),
  };

  // Set version for this build
  VersionApplicator.SetVersion(options["buildVersion"]);
  VersionApplicator.SetAndroidVersionCode(options["androidVersionCode"]);

  // Apply Android settings
  if (buildOptions.target == BuildTarget.Android)
    AndroidSettings.Apply(options);

  // Build addressables
  Console.WriteLine("Start building player content (Addressables)");
  AddressableAssetProfileSettings profileSettings = AddressableAssetSettingsDefaultObject.Settings.profileSettings;
  string profileId = profileSettings.GetProfileId("Default");
  AddressableAssetSettingsDefaultObject.Settings.activeProfileId = profileId;
  AddressableAssetSettings.BuildPlayerContent();
  Console.WriteLine("Built player content (Addressables)");

  // Perform build
  BuildReport buildReport = BuildPipeline.BuildPlayer(buildOptions);

  // Summary
  BuildSummary summary = buildReport.summary;
  StdOutReporter.ReportSummary(summary);

  // Result
  BuildResult result = summary.result;
  StdOutReporter.ExitWithResult(result);

And here’s the log in between my Console.WriteLine’s:

2020-11-17T21:29:35.3613808Z Start building player content (Addressables)
2020-11-17T21:29:35.8121541Z Refreshing native plugins compatible for Editor in 38.10 ms, found 28 plugins.
2020-11-17T21:29:35.8533213Z DisplayProgressbar: Processing Addressable Group
2020-11-17T21:29:36.7104572Z Start importing ProjectSettings/ProjectSettings.asset using Guid(00000000000000004000000000000000) Importer(-1,00000000000000000000000000000000)
2020-11-17T21:29:36.7142845Z Done importing asset: 'ProjectSettings/ProjectSettings.asset' (target hash: 'ebabca86e01324145915f89e7dac6313') in 0.003960 seconds
2020-11-17T21:29:36.7663220Z Refreshing native plugins compatible for Editor in 4.18 ms, found 28 plugins.
2020-11-17T21:29:36.7678460Z Preloading 28 native plugins for Editor in 0.75 ms.
2020-11-17T21:29:36.7688715Z RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions)
2020-11-17T21:29:36.7698598Z RefreshProfiler: Total: 96.291ms
2020-11-17T21:29:36.7700066Z 	InvokeBeforeRefreshCallbacks: 0.140ms
2020-11-17T21:29:36.7701533Z 	ApplyChangesToAssetFolders: 0.098ms
2020-11-17T21:29:36.7703192Z 	WriteModifiedImportersToTextMetaFiles: 0.000ms
2020-11-17T21:29:36.7704726Z 	CleanLegacyArtifacts: 0.000ms
2020-11-17T21:29:36.7705734Z 	Scan: 1.683ms
2020-11-17T21:29:36.7706844Z 	OnSourceAssetsModified: 0.000ms
2020-11-17T21:29:36.7708127Z 	UnregisterDeletedAssets: 0.000ms
2020-11-17T21:29:36.7709622Z 	InitializeImportedAssetsSnapshot: 13.944ms
2020-11-17T21:29:36.7711398Z 	GetAllGuidsForCategorization: 0.844ms
2020-11-17T21:29:36.7712771Z 	CategorizeAssets: 5.573ms
2020-11-17T21:29:36.7714337Z 	ImportAndPostprocessOutOfDateAssets: 52.996ms (5.068ms without children)
2020-11-17T21:29:36.7716076Z 		ImportManagerImport: 8.096ms (2.935ms without children)
2020-11-17T21:29:36.7717324Z 			ImportInProcess: 5.138ms
2020-11-17T21:29:36.7718466Z 			ImportOutOfProcess: 0.000ms
2020-11-17T21:29:36.7719798Z 			UpdateCategorizedAssets: 0.023ms
2020-11-17T21:29:36.7721335Z 			RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
2020-11-17T21:29:36.7722831Z 				RemoteAssetCacheResolve: 0.000ms
2020-11-17T21:29:36.7724260Z 				RemoteAssetCacheDownloadFile: 0.000ms
2020-11-17T21:29:36.7725522Z 		CompileScripts: 0.000ms
2020-11-17T21:29:36.7726690Z 		PostProcessAllAssets: 23.046ms
2020-11-17T21:29:36.7727920Z 		ReloadImportedAssets: 0.001ms
2020-11-17T21:29:36.7729397Z 		VerifyAssetsAreUpToDateAndCorrect: 0.000ms
2020-11-17T21:29:36.7731312Z 		EnsureUptoDateAssetsAreRegisteredWithGuidPM: 1.488ms
2020-11-17T21:29:36.7733046Z 		InitializingProgressBar: 0.001ms
2020-11-17T21:29:36.7734904Z 		PostProcessAllAssetNotificationsAddChangedAssets: 0.556ms
2020-11-17T21:29:36.7736747Z 		OnDemandSchedulerStart: 0.560ms
2020-11-17T21:29:36.7738048Z 		RestoreLoadedAssetsState: 4.970ms
2020-11-17T21:29:36.7739390Z 	InvokeProjectHasChanged: 0.000ms
2020-11-17T21:29:36.7740781Z 	UpdateImportedAssetsSnapshot: 9.211ms
2020-11-17T21:29:36.7742097Z 	ReloadSourceAssets: 2.580ms
2020-11-17T21:29:36.7743278Z 	UnloadImportedAssets: 0.421ms
2020-11-17T21:29:36.7744343Z 	Hotreload: 6.959ms
2020-11-17T21:29:36.7745302Z 	FixTempGuids: 0.004ms
2020-11-17T21:29:36.7746494Z 	VerifyGuidPMRegistrations: 0.000ms
2020-11-17T21:29:36.7748169Z 	GatherAllCurrentPrimaryArtifactRevisions: 1.129ms
2020-11-17T21:29:36.7749733Z 	UnloadStreamsBegin: 2.518ms
2020-11-17T21:29:36.7751403Z 	LoadedImportedAssetsSnapshotReleaseGCHandles: 2.292ms
2020-11-17T21:29:36.7753266Z 	GetLoadedSourceAssetsSnapshot: 10.684ms
2020-11-17T21:29:36.7754849Z 	PersistCurrentRevisions: 0.000ms
2020-11-17T21:29:36.7756072Z 	UnloadStreamsEnd: 0.046ms
2020-11-17T21:29:36.7757287Z 	GenerateScriptTypeHashes: 0.548ms
2020-11-17T21:29:36.7972361Z DisplayProgressbar: Switch To Build Platform
2020-11-17T21:29:36.7996545Z DisplayProgressbar: Rebuild Sprite Atlas Cache
2020-11-17T21:29:36.8008795Z DisplayProgressbar: Build Player Scripts
2020-11-17T21:29:36.8030039Z [ScriptCompilation] Recompiling all scripts because: Compiling scripts for player
2020-11-17T21:29:36.9357034Z - Starting script compilation
2020-11-17T21:29:36.9779467Z - Starting compile Library/PlayerScriptAssemblies/UnityEngine.UI.dll
2020-11-17T21:29:40.8718342Z - Finished compile Library/PlayerScriptAssemblies/UnityEngine.UI.dll in 3.890123 seconds
2020-11-17T21:29:40.9049353Z - Starting compile Library/PlayerScriptAssemblies/Unity.Postprocessing.Runtime.dll
2020-11-17T21:29:40.9288363Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Tools.dll
2020-11-17T21:29:46.3277663Z - Finished compile Library/PlayerScriptAssemblies/Unity.Postprocessing.Runtime.dll in 5.422452 seconds
2020-11-17T21:29:46.3630184Z - Starting compile Library/PlayerScriptAssemblies/Unity.InputSystem.dll
2020-11-17T21:29:47.1851934Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Tools.dll in 6.256368 seconds
2020-11-17T21:29:47.2181910Z - Starting compile Library/PlayerScriptAssemblies/Unity.TextMeshPro.dll
2020-11-17T21:29:54.0414163Z - Finished compile Library/PlayerScriptAssemblies/Unity.TextMeshPro.dll in 6.823135 seconds
2020-11-17T21:29:54.0729008Z - Starting compile Library/PlayerScriptAssemblies/Unity.ResourceManager.dll
2020-11-17T21:29:54.3195156Z - Finished compile Library/PlayerScriptAssemblies/Unity.InputSystem.dll in 7.956496 seconds
2020-11-17T21:29:54.3607960Z - Starting compile Library/PlayerScriptAssemblies/StompyRobot.SRF.dll
2020-11-17T21:29:59.3084248Z - Finished compile Library/PlayerScriptAssemblies/Unity.ResourceManager.dll in 5.235531 seconds
2020-11-17T21:29:59.3224781Z - Starting compile Library/PlayerScriptAssemblies/Unity.Timeline.dll
2020-11-17T21:29:59.3809148Z - Finished compile Library/PlayerScriptAssemblies/StompyRobot.SRF.dll in 5.020117 seconds
2020-11-17T21:29:59.4008286Z - Starting compile Library/PlayerScriptAssemblies/StompyRobot.SRDebugger.dll
2020-11-17T21:30:04.6738570Z - Finished compile Library/PlayerScriptAssemblies/StompyRobot.SRDebugger.dll in 5.272876 seconds
2020-11-17T21:30:04.7014679Z - Starting compile Library/PlayerScriptAssemblies/Coffee.SoftMaskForUGUI.dll
2020-11-17T21:30:04.7276107Z - Finished compile Library/PlayerScriptAssemblies/Unity.Timeline.dll in 5.405042 seconds
2020-11-17T21:30:04.7682579Z - Starting compile Library/PlayerScriptAssemblies/Unity.Addressables.dll
2020-11-17T21:30:09.7562854Z - Finished compile Library/PlayerScriptAssemblies/Coffee.SoftMaskForUGUI.dll in 5.054826 seconds
2020-11-17T21:30:09.7885062Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Core.Runtime.dll
2020-11-17T21:30:09.8015670Z - Finished compile Library/PlayerScriptAssemblies/Unity.Addressables.dll in 5.033404 seconds
2020-11-17T21:30:09.8469665Z - Starting compile Library/PlayerScriptAssemblies/Unity.ProBuilder.Poly2Tri.dll
2020-11-17T21:30:15.0896336Z - Finished compile Library/PlayerScriptAssemblies/Unity.ProBuilder.Poly2Tri.dll in 5.242538 seconds
2020-11-17T21:30:15.1209104Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.dll
2020-11-17T21:30:15.1338302Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Core.Runtime.dll in 5.345566 seconds
2020-11-17T21:30:15.1728603Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Haptics.dll
2020-11-17T21:30:19.6603746Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Haptics.dll in 4.487436 seconds
2020-11-17T21:30:19.7230067Z - Starting compile Library/PlayerScriptAssemblies/Unity.ProBuilder.KdTree.dll
2020-11-17T21:30:20.4861854Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.dll in 5.365179 seconds
2020-11-17T21:30:20.5249490Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.PostProcessing.dll
2020-11-17T21:30:24.6869556Z - Finished compile Library/PlayerScriptAssemblies/Unity.ProBuilder.KdTree.dll in 4.951142 seconds
2020-11-17T21:30:24.7048559Z - Starting compile Library/PlayerScriptAssemblies/Unity.ProBuilder.dll
2020-11-17T21:30:24.8874527Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.PostProcessing.dll in 4.362488 seconds
2020-11-17T21:30:24.9462493Z - Starting compile Library/PlayerScriptAssemblies/Unity.XR.Management.dll
2020-11-17T21:30:29.8509742Z - Finished compile Library/PlayerScriptAssemblies/Unity.XR.Management.dll in 4.903602 seconds
2020-11-17T21:30:29.8889872Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.MMTools.dll
2020-11-17T21:30:30.7899621Z - Finished compile Library/PlayerScriptAssemblies/Unity.ProBuilder.dll in 6.085036 seconds
2020-11-17T21:30:30.8127428Z - Starting compile Library/PlayerScriptAssemblies/Unity.ProBuilder.Stl.dll
2020-11-17T21:30:34.1852907Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.MMTools.dll in 4.296349 seconds
2020-11-17T21:30:34.2169774Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Tools.Feedbacks.dll
2020-11-17T21:30:35.2795931Z - Finished compile Library/PlayerScriptAssemblies/Unity.ProBuilder.Stl.dll in 4.466658 seconds
2020-11-17T21:30:35.3122258Z - Starting compile Library/PlayerScriptAssemblies/Sirenix.OdinInspector.CompatibilityLayer.dll
2020-11-17T21:30:38.6676528Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Tools.Feedbacks.dll in 4.450693 seconds
2020-11-17T21:30:38.6973072Z - Starting compile Library/PlayerScriptAssemblies/Unity.Subsystem.Registration.dll
2020-11-17T21:30:39.7905583Z - Finished compile Library/PlayerScriptAssemblies/Sirenix.OdinInspector.CompatibilityLayer.dll in 4.478242 seconds
2020-11-17T21:30:39.8288643Z - Starting compile Library/PlayerScriptAssemblies/UnityEngine.SpatialTracking.dll
2020-11-17T21:30:42.5630484Z - Finished compile Library/PlayerScriptAssemblies/Unity.Subsystem.Registration.dll in 3.865618 seconds
2020-11-17T21:30:42.6009267Z - Starting compile Library/PlayerScriptAssemblies/Unity.XR.ARSubsystems.dll
2020-11-17T21:30:43.9805791Z - Finished compile Library/PlayerScriptAssemblies/UnityEngine.SpatialTracking.dll in 4.151759 seconds
2020-11-17T21:30:44.0100154Z - Starting compile Library/PlayerScriptAssemblies/UnityEngine.XR.LegacyInputHelpers.dll
2020-11-17T21:30:48.0469641Z - Finished compile Library/PlayerScriptAssemblies/Unity.XR.ARSubsystems.dll in 5.446095 seconds
2020-11-17T21:30:48.0928867Z - Starting compile Library/PlayerScriptAssemblies/Unity.XR.ARCore.dll
2020-11-17T21:30:48.4411410Z - Finished compile Library/PlayerScriptAssemblies/UnityEngine.XR.LegacyInputHelpers.dll in 4.431061 seconds
2020-11-17T21:30:48.4688592Z - Starting compile Library/PlayerScriptAssemblies/Unity.Notifications.Android.dll
2020-11-17T21:30:52.8938705Z - Finished compile Library/PlayerScriptAssemblies/Unity.Notifications.Android.dll in 4.424855 seconds
2020-11-17T21:30:52.9249223Z - Starting compile Library/PlayerScriptAssemblies/LeanCommon.dll
2020-11-17T21:30:53.1497527Z - Finished compile Library/PlayerScriptAssemblies/Unity.XR.ARCore.dll in 5.056819 seconds
2020-11-17T21:30:53.2074342Z - Starting compile Library/PlayerScriptAssemblies/ARFoundationRemote.Installer.dll
2020-11-17T21:30:56.5708053Z - Finished compile Library/PlayerScriptAssemblies/LeanCommon.dll in 3.645912 seconds
2020-11-17T21:30:56.6127858Z - Starting compile Library/PlayerScriptAssemblies/LeanTouch.dll
2020-11-17T21:30:57.4422377Z - Finished compile Library/PlayerScriptAssemblies/ARFoundationRemote.Installer.dll in 4.234772 seconds
2020-11-17T21:30:57.4654111Z - Starting compile Library/PlayerScriptAssemblies/Unity.ScriptableBuildPipeline.dll
2020-11-17T21:31:01.0837048Z - Finished compile Library/PlayerScriptAssemblies/LeanTouch.dll in 4.470825 seconds
2020-11-17T21:31:01.1207484Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll
2020-11-17T21:31:01.6636288Z - Finished compile Library/PlayerScriptAssemblies/Unity.ScriptableBuildPipeline.dll in 4.198152 seconds
2020-11-17T21:31:01.6932945Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipeline.Universal.ShaderLibrary.dll
2020-11-17T21:31:04.2823527Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.ShaderGraph.ShaderGraphLibrary.dll in 3.161655 seconds
2020-11-17T21:31:04.3130153Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Rumble.dll
2020-11-17T21:31:05.0407330Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipeline.Universal.ShaderLibrary.dll in 3.347234 seconds
2020-11-17T21:31:05.0849590Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.dll
2020-11-17T21:31:08.8287562Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Rumble.dll in 4.515731 seconds
2020-11-17T21:31:08.8740326Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.dll
2020-11-17T21:31:10.5666105Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.dll in 5.481814 seconds
2020-11-17T21:31:10.6050701Z - Starting compile Library/PlayerScriptAssemblies/Unity.XR.ARFoundation.dll
2020-11-17T21:31:13.3926420Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.dll in 4.516312 seconds
2020-11-17T21:31:13.4374308Z - Starting compile Library/PlayerScriptAssemblies/Cinemachine.dll
2020-11-17T21:31:16.1304791Z - Finished compile Library/PlayerScriptAssemblies/Unity.XR.ARFoundation.dll in 5.525576 seconds
2020-11-17T21:31:16.1607122Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.URP.dll
2020-11-17T21:31:18.9407445Z - Finished compile Library/PlayerScriptAssemblies/Cinemachine.dll in 5.503101 seconds
2020-11-17T21:31:18.9729777Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.Cinemachine.dll
2020-11-17T21:31:20.9534348Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.URP.dll in 4.79259 seconds
2020-11-17T21:31:20.9930284Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Tools.Cinemachine.dll
2020-11-17T21:31:23.4615789Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.Cinemachine.dll in 4.488604 seconds
2020-11-17T21:31:23.4773897Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.NiceVibrations.dll
2020-11-17T21:31:25.0589278Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Tools.Cinemachine.dll in 4.065973 seconds
2020-11-17T21:31:25.0930401Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Core.ShaderLibrary.dll
2020-11-17T21:31:27.9185322Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.Feedbacks.NiceVibrations.dll in 4.441087 seconds
2020-11-17T21:31:27.9609761Z - Starting compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll
2020-11-17T21:31:28.3004850Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Core.ShaderLibrary.dll in 3.207471 seconds
2020-11-17T21:31:28.3165833Z - Starting compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Rumble.Editor.dll
2020-11-17T21:31:31.0428977Z - Finished compile Library/PlayerScriptAssemblies/Unity.RenderPipelines.Universal.Shaders.dll in 3.081949 seconds
2020-11-17T21:31:31.1815494Z - Finished compile Library/PlayerScriptAssemblies/MoreMountains.NiceVibrations.Rumble.Editor.dll in 2.864913 seconds
2020-11-17T21:31:31.1995270Z - Starting compile Library/PlayerScriptAssemblies/Assembly-CSharp-firstpass.dll
2020-11-17T21:31:34.4623462Z - Finished compile Library/PlayerScriptAssemblies/Assembly-CSharp-firstpass.dll in 3.262752 seconds
2020-11-17T21:31:34.4790618Z - Starting compile Library/PlayerScriptAssemblies/Assembly-CSharp.dll
2020-11-17T21:31:41.0738914Z - Finished compile Library/PlayerScriptAssemblies/Assembly-CSharp.dll in 6.594682 seconds
2020-11-17T21:31:41.0747510Z - Finished script compilation in 124.138314 seconds
2020-11-17T21:31:45.8835336Z DisplayProgressbar: Post Scripts Callback
2020-11-17T21:31:45.8846123Z DisplayProgressbar: Calculate Scene Dependency Data
2020-11-17T21:31:45.8870840Z DisplayProgressbar: Calculate Asset Dependency Data
2020-11-17T21:31:45.9664564Z DisplayProgressbar: Add Hash To Bundle Name Task
2020-11-17T21:31:45.9680789Z DisplayProgressbar: Strip Unused Sprite Sources
2020-11-17T21:31:45.9699686Z DisplayProgressbar: Create Built In Shaders Bundle
2020-11-17T21:31:45.9767116Z DisplayProgressbar: Post Dependency Callback
2020-11-17T21:31:45.9776935Z DisplayProgressbar: Generate Bundle Packing
2020-11-17T21:31:45.9930202Z DisplayProgressbar: Update Bundle Object Layout
2020-11-17T21:31:45.9949421Z DisplayProgressbar: Generate Bundle Commands
2020-11-17T21:31:46.0059706Z DisplayProgressbar: Generate Sub Asset Path Maps
2020-11-17T21:31:46.0078044Z DisplayProgressbar: Generate Bundle Maps
2020-11-17T21:31:46.0148161Z DisplayProgressbar: Post Packing Callback
2020-11-17T21:31:46.0158073Z DisplayProgressbar: Write Serialized Files
2020-11-17T21:31:46.1629226Z DisplayProgressbar: Archive And Compress Bundles
2020-11-17T21:31:46.2087392Z DisplayProgressbar: Generate Location Lists Task
2020-11-17T21:31:46.2230243Z Build Task GenerateLocationListsTask failed with exception:
2020-11-17T21:31:46.2233037Z Cannot recognize file type for entry located at 'Assets/MyProject/Videos/sample_video.mp4'. Asset import failed for using an unsupported file type.
2020-11-17T21:31:46.2240090Z   at UnityEditor.AddressableAssets.Build.BuildPipelineTasks.GenerateLocationListsTask.RunInternal (UnityEditor.AddressableAssets.Build.BuildPipelineTasks.GenerateLocationListsTask+Input input) [0x00459] in /github/workspace/MyProject/Library/PackageCache/com.unity.addressables@1.16.7/Editor/Build/BuildPipelineTasks/GenerateLocationListsTask.cs:212 
2020-11-17T21:31:46.2249273Z   at UnityEditor.AddressableAssets.Build.BuildPipelineTasks.GenerateLocationListsTask.Run () [0x0008a] in /github/workspace/MyProject/Library/PackageCache/com.unity.addressables@1.16.7/Editor/Build/BuildPipelineTasks/GenerateLocationListsTask.cs:60 
2020-11-17T21:31:46.2255869Z   at UnityEditor.Build.Pipeline.BuildTasksRunner.Run (System.Collections.Generic.IList`1[T] pipeline, UnityEditor.Build.Pipeline.Interfaces.IBuildContext context) [0x000ca] in /github/workspace/MyProject/Library/PackageCache/com.unity.scriptablebuildpipeline@1.14.0/Editor/Shared/BuildTasksRunner.cs:56 
2020-11-17T21:31:46.2260382Z UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020-11-17T21:31:46.2262153Z UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020-11-17T21:31:46.2263658Z UnityEngine.Logger:Log(LogType, Object)
2020-11-17T21:31:46.2264868Z UnityEngine.Debug:LogError(Object)
2020-11-17T21:31:46.2267315Z UnityEditor.Build.Pipeline.Utilities.BuildLogger:LogError(String, Object[]) (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.14.0/Editor/Utilities/BuildLogger.cs:124)
2020-11-17T21:31:46.2270870Z UnityEditor.Build.Pipeline.BuildTasksRunner:Run(IList`1, IBuildContext) (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.14.0/Editor/Shared/BuildTasksRunner.cs:63)
2020-11-17T21:31:46.2275358Z UnityEditor.Build.Pipeline.ContentPipeline:BuildAssetBundles(IBundleBuildParameters, IBundleBuildContent, IBundleBuildResults&, IList`1, IContextObject[]) (at Library/PackageCache/com.unity.scriptablebuildpipeline@1.14.0/Editor/ContentPipeline.cs:143)
2020-11-17T21:31:46.2281232Z UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptPackedMode:DoBuild(AddressablesDataBuilderInput, AddressableAssetsBuildContext) (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Build/DataBuilders/BuildScriptPackedMode.cs:177)
2020-11-17T21:31:46.2287758Z UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptPackedMode:BuildDataImplementation(AddressablesDataBuilderInput) (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Build/DataBuilders/BuildScriptPackedMode.cs:77)
2020-11-17T21:31:46.2293418Z UnityEditor.AddressableAssets.Build.DataBuilders.BuildScriptBase:BuildData(AddressablesDataBuilderInput) (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Build/DataBuilders/BuildScriptBase.cs:84)
2020-11-17T21:31:46.2298509Z UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl() (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Settings/AddressableAssetSettings.cs:1898)
2020-11-17T21:31:46.2303282Z UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent() (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Settings/AddressableAssetSettings.cs:1880)
2020-11-17T21:31:46.2306972Z FS.Builds.Builder:BuildProject() (at Assets/MyProject/Scripts/Editor/BuildScripts/CustomPlayerBuild/Builder.cs:40)
2020-11-17T21:31:46.2308460Z  
2020-11-17T21:31:46.2310094Z (Filename: Library/PackageCache/com.unity.scriptablebuildpipeline@1.14.0/Editor/Utilities/BuildLogger.cs Line: 124)
2020-11-17T21:31:46.2311476Z 
2020-11-17T21:31:46.2355175Z Unloading 37 Unused Serialized files (Serialized files now loaded: 0)
2020-11-17T21:31:46.9328914Z System memory in use before: 113.7 MB.
2020-11-17T21:31:46.9338943Z System memory in use after: 96.3 MB.
2020-11-17T21:31:46.9339788Z 
2020-11-17T21:31:46.9341119Z Unloading 2661 unused Assets to reduce memory usage. Loaded Objects now: 5125.
2020-11-17T21:31:46.9343066Z Total: 69.773500 ms (FindLiveObjects: 1.085900 ms CreateObjectMapping: 0.536400 ms MarkObjects: 60.562700 ms  DeleteObjects: 7.587200 ms)
2020-11-17T21:31:46.9344283Z 
2020-11-17T21:31:46.9345320Z SBP ErrorException
2020-11-17T21:31:46.9347116Z UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
2020-11-17T21:31:46.9349165Z UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
2020-11-17T21:31:46.9350936Z UnityEngine.Logger:Log(LogType, Object)
2020-11-17T21:31:46.9352363Z UnityEngine.Debug:LogError(Object)
2020-11-17T21:31:46.9355659Z UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContentImpl() (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Settings/AddressableAssetSettings.cs:1900)
2020-11-17T21:31:46.9360850Z UnityEditor.AddressableAssets.Settings.AddressableAssetSettings:BuildPlayerContent() (at Library/PackageCache/com.unity.addressables@1.16.7/Editor/Settings/AddressableAssetSettings.cs:1880)
2020-11-17T21:31:46.9364595Z FS.Builds.Builder:BuildProject() (at Assets/MyProject/Scripts/Editor/BuildScripts/CustomPlayerBuild/Builder.cs:40)
2020-11-17T21:31:46.9366172Z  
2020-11-17T21:31:46.9368150Z (Filename: Library/PackageCache/com.unity.addressables@1.16.7/Editor/Settings/AddressableAssetSettings.cs Line: 1900)
2020-11-17T21:31:46.9372984Z 
2020-11-17T21:31:46.9376369Z Refresh completed in 0.174729 seconds.
2020-11-17T21:31:46.9377727Z RefreshInfo: RefreshV2(NoUpdateAssetOptions)
2020-11-17T21:31:46.9379059Z RefreshProfiler: Total: 174.717ms
2020-11-17T21:31:46.9380385Z 	InvokeBeforeRefreshCallbacks: 0.166ms
2020-11-17T21:31:46.9381841Z 	ApplyChangesToAssetFolders: 0.121ms
2020-11-17T21:31:46.9383536Z 	WriteModifiedImportersToTextMetaFiles: 0.000ms
2020-11-17T21:31:46.9385077Z 	CleanLegacyArtifacts: 0.000ms
2020-11-17T21:31:46.9386097Z 	Scan: 148.057ms
2020-11-17T21:31:46.9387172Z 	OnSourceAssetsModified: 0.000ms
2020-11-17T21:31:46.9388633Z 	UnregisterDeletedAssets: 0.000ms
2020-11-17T21:31:46.9390139Z 	InitializeImportedAssetsSnapshot: 16.245ms
2020-11-17T21:31:46.9391684Z 	GetAllGuidsForCategorization: 0.000ms
2020-11-17T21:31:46.9392970Z 	CategorizeAssets: 0.000ms
2020-11-17T21:31:46.9394549Z 	ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)
2020-11-17T21:31:46.9396301Z 		ImportManagerImport: 0.000ms (0.000ms without children)
2020-11-17T21:31:46.9397554Z 			ImportInProcess: 0.000ms
2020-11-17T21:31:46.9399121Z 			ImportOutOfProcess: 0.000ms
2020-11-17T21:31:46.9400285Z 			UpdateCategorizedAssets: 0.000ms
2020-11-17T21:31:46.9401708Z 			RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
2020-11-17T21:31:46.9403113Z 				RemoteAssetCacheResolve: 0.000ms
2020-11-17T21:31:46.9404441Z 				RemoteAssetCacheDownloadFile: 0.000ms
2020-11-17T21:31:46.9405623Z 		CompileScripts: 0.000ms
2020-11-17T21:31:46.9406900Z 		PostProcessAllAssets: 0.000ms
2020-11-17T21:31:46.9408124Z 		ReloadImportedAssets: 0.000ms
2020-11-17T21:31:46.9409594Z 		VerifyAssetsAreUpToDateAndCorrect: 0.000ms
2020-11-17T21:31:46.9411527Z 		EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
2020-11-17T21:31:46.9413267Z 		InitializingProgressBar: 0.000ms
2020-11-17T21:31:46.9415140Z 		PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
2020-11-17T21:31:46.9417039Z 		OnDemandSchedulerStart: 0.000ms
2020-11-17T21:31:46.9418609Z 		RestoreLoadedAssetsState: 0.000ms
2020-11-17T21:31:46.9419973Z 	InvokeProjectHasChanged: 0.000ms
2020-11-17T21:31:46.9421364Z 	UpdateImportedAssetsSnapshot: 0.000ms
2020-11-17T21:31:46.9422735Z 	ReloadSourceAssets: 0.000ms
2020-11-17T21:31:46.9423944Z 	UnloadImportedAssets: 0.000ms
2020-11-17T21:31:46.9425125Z 	Hotreload: 0.040ms
2020-11-17T21:31:46.9426121Z 	FixTempGuids: 0.006ms
2020-11-17T21:31:46.9427311Z 	VerifyGuidPMRegistrations: 0.000ms
2020-11-17T21:31:46.9429001Z 	GatherAllCurrentPrimaryArtifactRevisions: 2.080ms
2020-11-17T21:31:46.9430560Z 	UnloadStreamsBegin: 0.059ms
2020-11-17T21:31:46.9432257Z 	LoadedImportedAssetsSnapshotReleaseGCHandles: 2.550ms
2020-11-17T21:31:46.9434126Z 	GetLoadedSourceAssetsSnapshot: 2.159ms
2020-11-17T21:31:46.9435556Z 	PersistCurrentRevisions: 0.000ms
2020-11-17T21:31:46.9436756Z 	UnloadStreamsEnd: 0.035ms
2020-11-17T21:31:46.9437996Z 	GenerateScriptTypeHashes: 0.000ms
2020-11-17T21:31:46.9471673Z Built player content (Addressables)

Please Unity, we really need some tutorials or simple examples on how to handle Addressables in custom build scripts :frowning:

You clearly get an error that an mp4 file isn’t recognized while building the Addressables catalog, hence it is not included in the build. Is that an error that only happens with your custom build script?

I’m having problem with this also. My build compiles correctly using the https://game.ci/ github actions, but when the game tries to initialize addressables, an error pops:

RuntimeData is null. Please ensure you have built the correct Player Content.

Recent merge should build the addressables now: Addressables/Localization don't work after build · Issue #230 · game-ci/unity-builder · GitHub