CultLib/unity/org.gamecult.cultlib/README.md
Meta Vens 5687d8c355 Make the CultLib Unity package depend on org.gamecult.cultmath
GameCult.Caching.MessagePack now references CultMath, so the Unity package
declares org.gamecult.cultmath in package.json, references CultMath.dll from the
asmdef, and the package build refuses to ship a second CultMath.dll and checks
the asmdef against the shipped plus external assembly lists.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 16:52:44 +02:00

1.5 KiB

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, built against OpenSSL (Microsoft.Native.Quic.MsQuic.OpenSSL 2.5.9, not Schannel — Schannel's MsQuic refuses the PKCS12 credential type both platforms share); the Microsoft and OpenSSL license notices are 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

The package depends on org.gamecult.cultmath (0.3.0 or later) and does not carry its own CultMath.dll. Unity Package Manager resolves git packages only from the project manifest, so add CultMath beside CultLib in Packages/manifest.json:

"org.gamecult.cultmath": "https://github.com/GameCult/CultLib.git?path=/packages/cultmath/unity/org.gamecult.cultmath#cultmath-unity-v0.3.0"

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.