Hello,
This is a strange place. You only need to add an empty callback function to the fourth parameter, as shown below.
public class NewBehaviourScript : MonoBehaviour
{
uint bnvb=3;
uint[] bnvbs=new uint[3];
// Start is called before the first frame update
void Start()
{
AkBankManager.LoadBank("New_SoundBank", false, false);
bnvb = AkSoundEngine.PostEvent("Play_Falcom_Sound_Team_J_D_K________", this.gameObject, 0x100000, MusicCallBack,null);
//AkSoundEngine.PostEvent("Play_Falcom_Sound_Team_J_D_K________", this.gameObject,AkCallbackType.AK_EnableGetSourcePlayPosition, null, null);
Debug.Log(bnvb);
}
// Update is called once per frame
void Update()
{
int dt=1;
Debug.Log(AkSoundEngine.GetSourcePlayPosition(bnvb, out dt));
Debug.Log(dt);
}
void MusicCallBack(object in_cookie, AkCallbackType in_type, object in_info)
{
}
}