Enable logging in Build

HI,

I’m trying to enable logging in build (not a DEVELOPMENT_BUILD) using Unity LTS 2021.3.9f1. Using FMOD 2.02.05
I’ve tried to change in Platform.cs line 19 and 31
from

#if DEVELOPMENT_BUILD
        public const string dllSuffix = "L";
#else
        public const string dllSuffix = "";
#endif

to

#if DEVELOPMENT_BUILD
        public const string dllSuffix = "L";
#else
        public const string dllSuffix = "L";
#endif

but then I get the error “Fallback handler could not load library…”

How i can make FMOD use the L version of the dll ?

Ok finally I’ve found the answer :
Need to also change EditorSettings.cs line 605
from public bool ForceLoggingBinaries { get; private set; } = false;
to public bool ForceLoggingBinaries { get; private set; } = true;

1 Like

Thank you for sharing the solution!