"Instance of ... has not had EventInstance.set3DAttributes() called on it yet!" on CreateInstance but the event has not been played yet

What’s wrong with this code?

var eventInstance = RuntimeManager.CreateInstance(sound.EventReference);
eventInstance.set3DAttributes(context.Position.To3DAttributes());
eventInstance.start();
eventInstance.release();

Why does RuntimeManager.CreateInstance causes the warning :

[FMOD] Instance of Event event:/SFX/L01 Drops/L01_sfx_drop_axe has not had EventInstance.set3DAttributes() called on it yet!

I know it’s not been called yet, it has to be called after the creation of the instance, no?

FMOD Integration : 2.02.20
FMOD Version : 2.02.07
Unity version : 2022.3.4f1

Hi,

Could you add FMOD.RESULT to the set3DAttributes() function to make sure it is running successfully? You are checking the function is returning RESULT.OK.

If that does not solve it, can you please tick Enable API Error Logging, set your Logging Level to “Warning”, and check for any FMOD errors in the console output?