CultLib/unity/org.gamecult.cultlib
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 1e398e0116 Studio: read and write sub-asset Addressables keys, warn on stale values
Ruling S (2026-09-17): a stored [CultInspectorAssetGuid] value is the
Addressables key form itself, the bare GUID for a main asset or
"guid[subAssetName]" for a picked sub-asset (one sprite of a sheet, say) -
the same shape AssetReference keeps and Addressables.LoadAssetAsync<T>
accepts.

CultAssetGuidKey (engine-free, GameCult.Caching) pins the parse/format rule
with unit tests (bare guid, guid[name], names with brackets/spaces,
malformed input), so headless checks can share it without touching Unity.

The Studio drawer's AssetGuid branch now: resolves either key form on read;
refuses to store a built-in resource's GUID (it has no Addressables entry)
and logs why instead of silently writing nothing; shows a warning next to a
stored value that fails to parse or resolve instead of drawing it as an
ordinary empty field, and never rewrites that stale value on its own.

Rebuilt GameCult.Caching/GameCult.Caching.MessagePack plugin DLLs
(scripts/build-unity-package.ps1 -UpdateTemplate) since the new type ships
in GameCult.Caching. Compiled CultCacheStudioDrawers.cs and
CultCacheStudioWindow.cs against Unity 6000.3.24f1's editor reference set
plus these plugins in a scratch csproj (removed after): 0 errors.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 19:48:45 +02:00
..
Runtime Studio: read and write sub-asset Addressables keys, warn on stale values 2026-09-17 19:48:45 +02:00
Third Party Notices Studio: read and write sub-asset Addressables keys, warn on stale values 2026-09-17 19:48:45 +02:00
package.json Prepare 1.0.60/1.4.0 release: rebuild plugin DLLs, bump package.json 2026-09-17 18:46:07 +02:00
package.json.meta Preserve Unity package import metadata 2026-07-10 12:02:52 +01:00
README.md Release CultLib Unity 1.0.57 with deterministic plugin assemblies 2026-09-14 15:18:42 +02:00
README.md.meta Preserve Unity package import metadata 2026-07-10 12:02:52 +01:00
Runtime.meta Preserve Unity package import metadata 2026-07-10 12:02:52 +01:00
Third Party Notices.meta Add native QUIC realtime transport for Unity 2026-07-19 22:55:06 +01:00

CultLib for Unity

This package is generated from the CultLib .NET projects. It carries the same CultCache, CultNet, and CultMesh assemblies consumed through NuGet by normal .NET applications, staged as Unity-compatible managed plugins. Windows x64 builds also receive the native MsQuic realtime connector and its Schannel runtime; the Microsoft license is included under Third Party Notices.

Build it with scripts/build-unity-package.ps1. Do not edit generated plugin assemblies in the package output.

Install version 1.0.57 through Unity Package Manager with:

https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v1.0.57

CultMesh chooses mapped memory for reachable same-machine bodies and advertised QUIC for remote realtime state. Applications register the packaged CultMeshNativeQuicRealtimeTransportConnector; they do not load or configure MsQuic directly. Schemas, commands, receipts, and immutable content remain on their typed control/content planes.