From 19d8d5c94810e6b825d491cc3500ca792dd5ff93 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 16 Sep 2026 23:22:59 +0200 Subject: [PATCH] Say that the committed Unity plugin is the older build The README claimed a rebuild reproduces the committed Unity plugin DLL. It does not. That plugin is 40,448 bytes, predates both the static CRT and the move off Schannel, and still imports VCRUNTIME140.dll and MSVCP140.dll; the current source builds to 302,080 bytes with no CRT import. What /Brepro buys is that a build reproduces itself, and the README now says that, along with the fact that the committed plugin stays the older build until the Unity package build replaces it. Co-Authored-By: Claude Opus 5 --- native/GameCult.Mesh.Quic.Native/README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/native/GameCult.Mesh.Quic.Native/README.md b/native/GameCult.Mesh.Quic.Native/README.md index adc256a0..60531975 100644 --- a/native/GameCult.Mesh.Quic.Native/README.md +++ b/native/GameCult.Mesh.Quic.Native/README.md @@ -76,11 +76,19 @@ actually ships beside the bridge. The OpenSSL flavour rather than Schannel because Schannel's MsQuic refuses `QUIC_CREDENTIAL_TYPE_CERTIFICATE_PKCS12`, which is the only credential type a provider has on both platforms. -The build uses MSVC with `/Brepro` so a rebuild reproduces the committed Unity -plugin DLL, and links the CRT statically (`/MT`). A Node or Unity host without -the Visual C++ redistributable cannot load a DLL that imports `vcruntime140.dll`, +The build uses MSVC with `/Brepro` so that a build reproduces itself: the link +timestamps are dropped, and building the same source twice gives the same bytes. +It links the CRT statically (`/MT`), because a Node or Unity host without the +Visual C++ redistributable cannot load a DLL that imports `vcruntime140.dll`, and the failure it reports names no missing runtime; the bridge carries its own. +A rebuild does not reproduce the committed Unity plugin. That plugin +(`unity/org.gamecult.cultlib/Runtime/Plugins/x86_64/gamecult_mesh_quic_native.dll`, +40,448 bytes) is the older build — before `/MT` and before the move off +Schannel — and it still imports `VCRUNTIME140.dll` and `MSVCP140.dll`. The +current source builds to 302,080 bytes with no CRT import. The committed plugin +stays the older build until the Unity package build runs and replaces it. + Linux x64, on a Debian 13 host: scripts/build-quic-native.sh