Skip to content

Issues with Unity 2019 #5

@sonicviz

Description

@sonicviz

Fyi the error it’s throwing is in MidiFile.cs on loading the default scene with midis/groove.mid line 237 (which is not apparent in the Unity console message as it from a level higher:

            if (UTF8Encoding.UTF8.GetString(tmp, 0, tmp.Length) != "MTrk")
                throw new Exception("Invalid track!");

Error Loading Midi:
Midi Failed to Load!
UnityEngine.Debug:Log(Object)
CSharpSynth.Sequencer.MidiSequencer:LoadMidi(String, Boolean) (at Assets/ThirdParty/CSharpSynth/Sequencer/MidiSequencer.cs:153)
MIDIPlayer:LoadSong(String) (at Assets/Scripts/MIDIPlayer.cs:51)
MIDIPlayer:Update() (at Assets/Scripts/MIDIPlayer.cs:70)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions