flashflashrevolution / rCubed

Official Flash Flash Revolution game engine.
https://www.flashflashrevolution.com
GNU Affero General Public License v3.0
31 stars 17 forks source link

Game Crash on invalid noteskin #340

Closed Psycast closed 2 years ago

Psycast commented 2 years ago

Describe the bug Game crash when invalid custom noteskin is selected, preventing the options page from being open to reset it, and also prevents gameplay due to crash as well.

Crash Report

======================Thu May 5 2022 07 48 36 AM======================
OS: Windows 10 | WIN 32,0,0,170
R3 Version: 1.4.3 | 2022-01-28
[00:26][UNCAUGHT_ERROR] Error: (1010) TypeError
Error #1010
TypeError: Error #1010
    at classes::Noteskins/getReceptor()
    at popups.settings::SettingsTabInput/openTab()
    at popups.settings::SettingsWindow/changeTab()
    at popups.settings::SettingsWindow/tabHandler()
[00:26][INFO] If possible, please submit this crash to the developers.
[00:26][UNCAUGHT_ERROR] Error: (1010) TypeError
Error #1010
TypeError: Error #1010
    at classes::Noteskins/getNote()
    at popups.settings::SettingsTabNoteskin/addNoteImage()
    at popups.settings::SettingsTabNoteskin/openTab()
    at popups.settings::SettingsWindow/changeTab()
    at popups.settings::SettingsWindow/tabHandler()
[00:26][INFO] If possible, please submit this crash to the developers.
[00:28][User] Settings Save Success
[00:32][Song] Music Load Success
[00:32][Song] Chart Load Success
[00:32][Song] Chart parsed with 59 notes, 01:08 length.
[00:32][UNCAUGHT_ERROR] Error: (1010) TypeError
Error #1010
TypeError: Error #1010
    at classes::Noteskins/getNote()
    at classes::GameNote()
    at game.controls::NoteBox()
    at game::GameplayDisplay/initUI()
    at game::GameplayDisplay/stageAdd()
    at game::GameMenu/switchTo()
    at menu::MenuPanel/switchTo()
    at game::GameLoading/preloaderRemoved()
    at classes.ui::ProgressBar/removeLoaderBar()
    at com.greensock::TweenLite/render()
    at com.greensock.core::SimpleTimeline/render()
    at com.greensock.core::Animation$/_updateRoot()
[00:32][INFO] If possible, please submit this crash to the developers.
Psycast commented 2 years ago

Fixed in update/1.4.4 branch. d217c37c1c14a6de9ecd26519a1914140a706594