Hello,
After upgrading our project from FMOD 2.02.22 to FMOD 2.03.07 we started seeing a recurring error on macOS builds (it never occurs on Windows):
[FMOD] transform : assertion: 'previousPoint != NULL' failed
UnityEngine.Debug:LogError (object)
FMODUnity.RuntimeUtils:DebugLogError (string) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:594)
FMODUnity.RuntimeManager:DEBUG_CALLBACK (FMOD.DEBUG_FLAGS,intptr,int,intptr,intptr) (at Assets/Plugins/FMOD/src/RuntimeManager.cs:104)
Some details:
-
Unity version: 2022.3.44f1
-
Target platforms: iOS + Android (but issue reproduces on macOS Editor/Build only).
-
We tested with a clean project: removing all effects/sounds and leaving only a blank master bus makes the error disappear. Adding events back sometimes triggers the assertion.
-
The error often appears in batches (hundreds of lines) immediately after starting an event.
-
We also see related warnings like events waiting for sample data (
EventInstance::updateForStart waited XXX ms
).
Questions:
-
What does this specific assertion (
previousPoint != NULL
) mean inside FMOD? -
Is it related to migrated curves/automation (e.g. distance attenuation, automation points not starting at 0)?
-
Why does it reproduce only on macOS and not Windows?
-
Are there recommended steps to debug which event/parameter curve is causing the assertion?
We already tried:
-
Rebuilding all banks.
-
Removing/adding events one by one.
-
Checking automation curves for duplicated or missing first point.
Any advice or confirmation if this is a known regression in 2.03.x would be really helpful.
Thanks!