Hi, I’ve been trying out the new 2.00 API, and I’m really happy about the new encryption function being added.
I am having some trouble getting it to work, though, the problem being setting the FMOD.STUDIO.ADVANCEDSETTINGS in Unity C# without the integration package.
How would you set the ‘encryptionkey’ parameter of type FMOD.StringWrapper? Would you need to set StringWrapper::nativeUtf8Ptr? I am having trouble understanding how to handle this data type, and have tried modifying the wrapper struct by adding a public accessor and setting the IntPtr with Marshal.StringToCoTaskMemAnsi(string key), but then when I set the system.setAdvancedSettings and getAdvancedSettings again, when I log the encryption key, it returns a zero-length string.
Thanks for your time!