Using this piece of code:
using UnityEngine;
using System.Collections;
using FMOD;
public class punch: MonoBehaviour {
FMOD.RESULT result;
FMOD.System system;
FMOD.ChannelGroup channelGroup;
void Start () {
result = FMOD.Factory.System_Create (out system);
result = system.createChannelGroup (null, out channelGroup);
}
}
crashes Unity 4 on Mac and Win7(x64), telling “access violation” takes place.
The “system.createChannelGroup” line is the one causing crashing as I figured.
I’m lost!