Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: grimmy on May 06, 2014, 04:28:12 PM

Title: ArrayList Get Error (AudioClip)[SOLVED]
Post by: grimmy on May 06, 2014, 04:28:12 PM
Hi, I'm trying to get an AudioClip Object from an ArrayList but Playmaker is giving me the error:
The fsmVar value <UnityEngine.Object> doesnt match the value <UnityEngine.AudioClip>

My ArrayList is pre-filled with type AudioClips and the variable to which I am storing the ArayList Get result is of type UnityEngine.AudioClip

The images should help illustrate what is going on.

Any ideas?



Title: Re: ArrayList Get Error (AudioClip)
Post by: jeanfabre on May 07, 2014, 07:59:44 AM
Hi,

 Are you using the latest ArrayMaker from the wiki? double check this, if that fails, I'll investigate further.


bye,

 Jean
Title: Re: ArrayList Get Error (AudioClip)
Post by: grimmy on May 08, 2014, 08:08:13 AM
Hi, I thought I was but I re-installed and everything seems to work now. Not sure if it was this or a Unity reboot that fixed it. Thanks!