source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[TF2/ALL] Temporary workaround for debug build of libprotobuf corrupting data (on MSVC).

Open zxz41 opened this issue 7 months ago • 1 comments

Description

Currently there's an issue with the debug build of libprotobuf.lib, causing inventory data to become corrupt when converted from an API response (TF2 inventory.)

As a temporary solution until a compatible debug build of libprotobuf.lib is created. This will link against the release build of libprotobuf.lib.

However to be able to link objects together, we unfortunately have to allow iterator debug level mismatch and set the iterator debug level to 0 for all projects.

This should be only applying to projects built on the Source SDK. This have not been tested on Linux/OSX. (But shouldn't break anything there.) I've tested it both compiling game and gamedlls

For a more in-depth explanation see https://github.com/ValveSoftware/source-sdk-2013/issues/663#issuecomment-2901528711

zxz41 avatar May 22 '25 18:05 zxz41

zxz41 avatar May 22 '25 19:05 zxz41