OpenNBS / OpenNoteBlockStudio

An open-source Minecraft music maker.
https://opennbs.org/
MIT License
728 stars 50 forks source link

Can't open/create project #436

Closed ferdmusic closed 2 months ago

ferdmusic commented 4 months ago

Describe the bug Whenever I open or create a new project I get this error:


############################################################################################ ERROR in action number 1 of Draw Event for object obj_controller:

index out of bounds request 11 maximum size is 11############################################################################################ gml_Script_midi_input_set_key (line 8) gml_Script_draw_piano (line 155) gml_Script_control_draw (line 2274) gml_Object_obj_controller_Draw_0 (line 0)

To Reproduce Steps to reproduce the behavior:

  1. Open up Noteblock Studio
  2. Click on "Create a new song"
  3. See error

Expected behavior I expected a fresh project to open up

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I added a midi file with a lot of midi channels first. I don't know if this is the cause, it is my first time using the program. The error still appears after. Also I have a lot of midi devices connected to my computer. The error appears every time I try to do anything in the welcome screen

grafik

ferdmusic commented 4 months ago

Edit: It appears as if the program is working on my friends computer. Also importing the midi-file works fine!

Bentroen commented 2 months ago

Duplicate of https://github.com/OpenNBS/OpenNoteBlockStudio/issues/348: some virtual MIDI devices don't interact well with NBS and cause a crash on startup. Please check if this is the case!