chrislo27 / PolyrhythmMania

A game that faithfully recreates the Polyrhythm minigame from Rhythm Tengoku (リズム天国), with a built-in level editor
https://polyrhythmmania.rhre.dev
GNU General Public License v3.0
237 stars 18 forks source link

[Bug]: Error while trying to load a level in the editor or when I try to play it. #36

Closed Unnamedspaceuser closed 2 years ago

Unnamedspaceuser commented 2 years ago

Version

v1.0.2

Operating System

Windows 10

Problem Description

Hello, I'd like to report a bug that happened to me. I was editing a level in my laptop and then put it in sleep mode with the editor still open, and when I opened back my laptop after a while I noticed that the level stopped autosaving like it normally does. At first, I did not pay to much attention to it since I thought I could just save manually, which I did, and the editor even told me that the saves were succesful. But, when I finished the level and seved once more and tried to play it through the main menu but an error message appeared saying the the level could not be loaded, and the same message poped up when I tried to load the level in the editor, which you can see the following screenshots I took. I don't know exactly what caused this, but I think it's related to the fact that I put my laptop in sleep mode with the editor open. So I was hoping that there was a way to make my level to load properly, that would be great, thanks.

edit error load error

Steps to Reproduce Problem

  1. Create a new polyrhythm mania map.
  2. Put some stuff in it .
  3. Put your PC on sleep mode for like an hour.
  4. Open your PC and save the level.
  5. Return to main menu and try to play it or open it again through the editor.

*As I said, I don't what caused this exactly, so this is just an assumption.

Relevant log output

No response

(Optional) Other useful information

In any case, here's also the link to a google drive folder in which there's the level I can't get to load, it is called "WISH". Link: https://drive.google.com/drive/folders/1GN9E2UTAmP20fP-KWcVrOTRpy90DNH4w?usp=sharing

chrislo27 commented 2 years ago

I would appreciate log files, which contain detailed error information. You can find the folder they're contained in by going to the Main Menu > Settings > Data > Open Log File Directory in Explorer.

The log files are named based on the date and time you started the game, so the log file for the session where the autosaving stopped would be ideal. If you don't know the time for sure, feel free to send a (small) collection of them in a zip file.

chrislo27 commented 2 years ago

I've been doing some debugging with the limited information I have so far and it may be related to resource management while loading a level. I have patched it in commit 7f4a1702333ae24a402e6a96074ab1aad3f1dc6a but I still need your log files to verify.

As for your level, I've edited it to have its music removed, please check that it can be loaded now: WISH - nomusic.zip (You'll have to put the music back yourself.)

Unnamedspaceuser commented 2 years ago

It worked, it finally loads again! Thank you, thank you very much!! I will put the music back myself no problem. But thanks!

chrislo27 commented 2 years ago

The issue isn't resolved until I can resolve it for everyone. Please provide the log files like I originally requested. Closing this issue just because your level is working again is rude (I have been spending time trying to help resolve this) and is not in the spirit of open source software (i.e. creating better software for everyone).

Unnamedspaceuser commented 2 years ago

I see... I'm so sorry, I didn't mean to be rude by closing the issue like that, I just got excited for a second, apologies. But on another note, here's the log files as you requested, these are the log files from september and october, I hope that these can be helpful to you.

log_2021-09-14_11-03-58.zip

chrislo27 commented 2 years ago

Thank you. I can confirm that one of the log files contains the same error I encountered with regards to resource management.

Please leave this issue open as I will close it when the next update is released.