Skip to content

NullReferenceException after hit "Play" in midiUnity.scene #1

@Kailang

Description

@Kailang

For anyone who tries to run the demo:

Quick fix: Uncomment //midiSequencer.LoadMidi(songFile, false); at Assets/Scripts/MidiPlayer.cs:71

It's very interesting that the sequencer cannot access _MidiFile.CombinedTrack.TotalTime because the _MidiFile has never been set.

Cheers,

Kailang

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