Hi,
It's hard to tell without more details, but I just fixed a similar problem this morning (no sound in game until I profile in Authoring). Turns out that I had a type mismatch between the definition of a property in the XML file and its handling in GetBankParameters function (Authoring side). When a plug-in is loaded into a game, its SetParamBlock function (SoundEngine side) is called to fetch parameters from the generated soundbanks, which in my case gives me -inf for the duration parameter because, when I generated the soundbanks, I tried to read a 64-bit float from a 32-bit property. When connecting the Authoring to the game for profiling, the SetParam function (SoundEngine side) is called to update each individual property. This time, the sound engine was able to retrieve the correct value for the duration parameter.
Few points to check:
- Make sure that the type of the properties in the XML file exactly match the types that are read/written in GetBankParameters.
- Make sure that the order (and the types) of the properties that are read in SetParamBlock is exactly the same as the order (and the types) that is written to the soundbanks in GetBankParameters.
Hope that helps,
Olivier