I just had this on one of my events out of 7. On running, one such warning is generated for each rat bite that spawns this sound. I initialise my audio with an instance but don’t activate it, but position it when called:
I went into the project to see if there was anything different about that event versus the others. I noticed its minimum distance in the Min/Max distance of the spatialiser was zero where every other event had a min of 1. So I set it to 0.1 and tried again.
Now every event generates this error!
I’ve fixed it by arbitrarily calling Set3DAttribute after I initialise the audio
I don’t know when the warning is generated as the call stack only shows RuntimeManager. It’s not as though the audio was being played without the 3D pos being set., so I don’t understasnd this error or why it propagated onto other events that were working just fine.
Spatialized events in FMOD depend on valid 3D attributes to calculate their position, attenuation, and panning. If the 3D attributes are not explicitly set immediately after the instance is initialized—even if the instance is not activated (i.e., not started)—FMOD may trigger a warning.
This happens because FMOD performs internal validations on instances at various points, such as when they are created or manipulated, and it expects 3D attributes to be defined to avoid fallback or undefined behavior.
Setting set3DAttributes with a temporary position (Vector3.zero) right after instance creation is the safest way to avoid these warnings. This ensures FMOD always has valid spatial data to work with.
Could you elaborate this please? As I was still not able to reproduce this issue with a similar setting from my end.