i want to use touch piano so i made a VitualTouchPianoDevice : IInputDevice Class to get piano input
and i send Note on /off event to OutputDevice _outputDevice;
private void OnEventReceived(object sender, MidiEventReceivedEventArgs e)
{
_outputDevice.SendEvent(e.Event);
}
everthing is working what i expecting but when i click stop button in Unity Editor. it.s meet crash and unity exit
i want to use touch piano so i made a VitualTouchPianoDevice : IInputDevice Class to get piano input and i send Note on /off event to OutputDevice _outputDevice; private void OnEventReceived(object sender, MidiEventReceivedEventArgs e) { _outputDevice.SendEvent(e.Event); }
everthing is working what i expecting but when i click stop button in Unity Editor. it.s meet crash and unity exit
Do happen to know what is wrong? Thanks Danny