public static class LooseContentA catalog over the artefacts an import left in Library/, with nothing packed.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The Editor variant's content, and the last of doc 17's five. Debug, Development, Release and Server all read bundles; the editor's own variant is specified to read "loose files, live import", and until now the only thing --vixen-loose-content could point at was another content build — a directory of packed bundles somebody still had to pack. What that costs is the iteration loop: changing one texture meant a full pack of every group before a player could see it.
This is a content build with the packing step removed, and almost nothing else. The same BuildPlanner decides the same addresses from the same sidecars — so what a player resolves here and what it resolves from a shipped build are the same answer, which is the property that makes testing against this worth anything. The difference is where the bytes are: a catalog entry names no bundle, and the chunks stay in the artefact store the import wrote them to.
⚠ The runtime hook for that already existed. AssetManager.MountFor returns without mounting anything when an entry names no bundle — "a loose chunk at edit time names no bundle and is already reachable" — and ObjectDatabase.Mount adds bundles last so that "a bundle never shadows the loose files an editor is rebuilding into". Both were written for this and neither had anything to serve.
⚠ It is written into Library/ rather than beside it. A player is pointed at one directory and has to find both halves in it; Library/ is the one that already holds the chunks. It is also the directory that is not committed, which is right — this is a local development artefact and not something a checkout should carry.
Fields and properties (1)
public const string ArtifactFolderNameWhat the artefact store is called inside the directory a player is pointed at.
Methods (1)
public static LooseContentSummary Write(ProjectWorkspace workspace, Action<ContentDiagnostic> report)Writes a catalog over what the last import produced.
Used by (3)
- EditorContentVixen.Editor.App
- LooseContentTestsVixen.Editor.Assets.Tests
- VixenCommandVixen.Cli