Skip to content

Saving a NBS project that contains lots of noteblocks and reopening the file will sometimes lead to a few note blocks disappearing. #532

@GreenPunkYt

Description

@GreenPunkYt

Describe the bug
I have a song that is 6 minutes long, and contains over 19000 noteblocks. i had made some modifications to the song, and saved. after a while, i opened the project again, only to find that exactly 112 noteblocks just..disappeared. out of nowhere. and it's not just chunks of the song missing. it's distributed over the entire song. There's also inconsistency in the placement of the noteblocks in some parts of the song, which also leads to increased or decreased song length.

To Reproduce
Steps to reproduce the behavior:

  1. Import a midi that's long and has lots of notes.
  2. Make some changes to the song(e.g transposing notes to fit in minecraft's note block range or change the instrument of some noteblocks.
  3. Save the file.
  4. Wait for a while and then open it. you should see the note block count is significantly lower than before.(NOTE: this is very inconsistent, and i haven't been able to recreate this again, even with the same modifications i've made.)

Expected behavior
NBS should save note block data properly to the file.

Screenshots
Here is the song imported from the midi with no changes made.
Image
Image

Here is the same song that i modified(NOTE: i did not remove or place any note blocks.), note the different song lenghts.
Image
Image

Additional context
This doesn't only apply to long songs. I've had shorter songs that sounded fine before now sounding like they're missing notes and noteblocks playing off beat in random segments of the song. this bug has been present for a while in NBS. This is a concern for me, as any song i create can have the chance to corrupt like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: BugSomething isn't workingS: Needs further investigationMore investigation is needed to find the cause of this bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions