INSODIMENSIONStudios

Packaging Your Game

What Agentic Biomes 1.1.x needs in a packaged build. One settings line keeps runtime ground cover on its own materials, a Blueprint-only project with the plugin copied into its Plugins folder needs one descriptor line, and the showcase maps must be listed to cook.

Packaging Your Game

1.1.0 and 1.1.1 need the settings line below for packaged builds. Without it, a packaged game (Development or Shipping) cannot find two runtime ground-cover materials. The log says LoadPackage: SkipPackage: /AgenticBiomes/Materials/RuntimeRemap/PCG_Foliage_01_Inst ... does not exist on disk, and the ground cover that uses them renders with Unreal's fallback grey material instead of its own colour. Everything works in the editor and in Play In Editor either way, which is why it only shows up once you package.

The settings line

Add this to your project's Config/DefaultGame.ini:

[/Script/UnrealEd.ProjectPackagingSettings]
+DirectoriesToAlwaysCook=(Path="/AgenticBiomes/Materials/RuntimeRemap")

Or set the same folder in the editor: Project Settings → Packaging → Additional Asset Directories to Cook, add /AgenticBiomes/Materials/RuntimeRemap.

Why it happens: the runtime ground-cover graph swaps the sample materials for these two while the game runs, by building their path as text. Nothing references them as assets, and Unreal only packages what something references, so they were left out of the build.

A Blueprint-only project with the plugin in its Plugins folder

If the packaged game closes at startup with:

Unable to load plugin 'AgenticBiomes' ... The missing dependency is PCGBiomeCore (ReferenceChain: AgenticBiomes -> PCGBiomeCore)

then the project packaged with Epic's stock game executable, which has neither Agentic Biomes nor PCGBiomeCore in it. It happens when a Blueprint-only project has the compiled plugin copied into YourProject/Plugins/AgenticBiomes/. Epic's BuildPlugin tool, which compiles a plugin, removes the "EnabledByDefault": false line from AgenticBiomes.uplugin, so the packager treats the plugin as one every project already has and builds no game executable of its own.

Use either fix:

  • Open YourProject/Plugins/AgenticBiomes/AgenticBiomes.uplugin and add "EnabledByDefault": false, at the top level, next to "Category". The packager then builds a game executable that includes the plugin.
  • Or add any C++ class to the project (Tools → New C++ Class), which makes it a code project.

Packaging the showcase levels

The two showcase levels live in the plugin, and Unreal does not package plugin maps unless you list them. To package them, add them under Project Settings → Packaging → List of maps to include in a packaged build, or in Config/DefaultGame.ini:

[/Script/UnrealEd.ProjectPackagingSettings]
+MapsToCook=(FilePath="/AgenticBiomes/Maps/Showcase/L_Showcase_Landscape_Volume")
+MapsToCook=(FilePath="/AgenticBiomes/Maps/Showcase/L_Showcase_Landscape_Texture")

Your own levels are packaged the usual way.

How it was checked

A Development package of a fresh Blueprint-only 5.8 project with only Agentic Biomes enabled, made with 1.1.1 compiled by BuildPlugin and copied into YourProject/Plugins. Both showcase levels were rebuilt in the editor and then packaged:

BuildGame startsGround-cover materials found
As installedNo: closes with the PCGBiomeCore errorNot reached
With "EnabledByDefault": falseYes, both levelsNo: grey fallback material, two warnings in the log
With both fixesYes, both levelsYes: no warnings, colours match the editor

In the packaged game both levels showed their baked trees and rocks, the terrain material, and runtime ground cover around the camera. If your packaged build still misses something with these lines in place, ask in the Insodimension Discord.