Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Unnamedspaceuser opened this issue Oct 7, 2021 · 6 comments
Assignees
Labels
Priority: High Status: Fixed The issue has been fixed for a future release, and will be closed manually by a maintainer Type: Bug Something isn't working

Comments

@Unnamedspaceuser
Copy link

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

@Unnamedspaceuser Unnamedspaceuser added Priority: Triage Needs to be looked at by a maintainer before being assigned a priority Type: Bug Something isn't working labels Oct 7, 2021
@chrislo27
Copy link
Owner

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 chrislo27 added Priority: High Status: Needs Info Needs info by the reporter before continuing and removed Priority: Triage Needs to be looked at by a maintainer before being assigned a priority labels Oct 7, 2021
@chrislo27 chrislo27 self-assigned this Oct 7, 2021
@chrislo27
Copy link
Owner

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 7f4a170 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.)

@chrislo27 chrislo27 added this to the Next Patch Version milestone Oct 7, 2021
@Unnamedspaceuser
Copy link
Author

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

@chrislo27
Copy link
Owner

chrislo27 commented Oct 7, 2021

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).

@chrislo27 chrislo27 reopened this Oct 7, 2021
@Unnamedspaceuser
Copy link
Author

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
Copy link
Owner

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.

@chrislo27 chrislo27 added Status: Fixed The issue has been fixed for a future release, and will be closed manually by a maintainer and removed Status: Needs Info Needs info by the reporter before continuing labels Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Status: Fixed The issue has been fixed for a future release, and will be closed manually by a maintainer Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants