Hello! I am trying to use the getPath() function on an EventDescription and am getting back an empty string in the val
with no error from the function (FMOD.OK is returned). Here is the relevant block of code:
var path = {}, size = 0, retrieve = 0;
result = description.val.getPath(path, size, retrieve)
CHECK_RESULT(result, 'getPath() call failed for event instance');
if (!path.val){
console.log('Fmod Callback could not find description of event for event instance');
}
And here is the CHECK_RESULT block:
static CHECK_RESULT(result, message='')
{
if (result != FMOD.OK)
{
if (message == ''){
console.log(FMOD.ErrorString(result));
} else {
console.log(message + ': ' + FMOD.ErrorString(result));
}
}
}
I will provide any other details to help diagnose this.