Trying to get current playtime from audio component

Is it definitely passing both if conditions? Have you used the debugging tools to have a look at the values etc?

Simple test try returning something like 10.0f as your default if it doesn’t hit those if branches, see if it still returns 0