Problem Details:
as i'm trying to trim it's trailing silence from the song, if the notes or even hold ends were trying to reach 100%, it'll crash instantly.
(make sure it's not a virtual)
replicate way: (one of them could work!)
due to density bar uses array on looking each note, it basically only got 1 entry per 1%, so if i sum it up, there are about 100 entry of the array that consisting any number of notes for each percentage rounded up. as the last index is on 99% range (the 100th index), if you try to put any notes beyond the 100% point( which is 101th index, that outside the array), you could get the "out of index" thing
as i'm trying to trim it's trailing silence from the song, if the notes or even hold ends were trying to reach 100%, it'll crash instantly.
(make sure it's not a virtual)
replicate way: (one of them could work!)
- make a note(or hold) near end, and drag it to about end of the song file.
- load a beatmap with the hold/note that near/exceeds the end song limit.
due to density bar uses array on looking each note, it basically only got 1 entry per 1%, so if i sum it up, there are about 100 entry of the array that consisting any number of notes for each percentage rounded up. as the last index is on 99% range (the 100th index), if you try to put any notes beyond the 100% point( which is 101th index, that outside the array), you could get the "out of index" thing
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at #Ei.#Ii.#7O()
at osu.GameModes.Edit.Editor.#7O()
at osu.GameModes.Edit.Editor.#Ls()
at #rb.#xb.#Ls()
at #1h.#0h.#Ls()
at #rb.#xb.#6s()
at #rb.#xb.#ht(Object , EventArgs )
at #rb.#Bb.#Ct()
at #rb.#Rb.#Rv(Object , EventArgs )
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at #rb.#Rb.#nt()
at #rb.#xb.#nt()
at #1h.#np.#Iwb(String , Boolean )