Hi,
the AkSoundEngine.GetRTPCValue function can modify the value of your type1 variable if the value is not found on the scope requested, which probably happens on your first Update() execution since the RTPC doesn't seem to be assigned yet.
Since the scope of that variable is bigger than the Update function, all future GetRTPCValue calls will be made with the incorrect type1 value, most likely requesting the DefaultValue instead of the GlobalValue.
I would advise declaring that variable inside the scope of your Update function and preferably right before using it, like so:
void Update()
{
...
int valueType = (int)AkQueryRTPCValue.RTPCValue_Global; // 1 like your type1 variable
AKRESULT result = AkSoundEngine.GetRTPCValue(rtpcID, null, 0, out rtpcValue, ref valueType);
}
If you want to confirm this, you can output the value of your type1 variable in your log along with the rtpc value
Cheerz