TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
178 stars 3 forks source link

[Game Crash] Crashes while loading a song with "-random-" BGCHANGE while also having loaded a video from a subfolder #711

Open snakerbot opened 7 months ago

snakerbot commented 7 months ago

Describe the crash

The game quits upon trying to load the gameplay screen if both of the below are true:

ProjectOutfox-default.ThemeLua.2023-11-18--07.37.35 (Commented out -random-).log

ProjectOutfox.Crash.2023-11-18--07.37.35 (Commented out -random-).log

ProjectOutfox.MainLog.2023-11-18--07.37.35 (Commented out -random-).log

ProjectOutfox-default.ThemeLua.2023-11-18--07.38.47 (Crashed).log

ProjectOutfox.Crash.2023-11-18--07.38.47 (Crashed).log

ProjectOutfox.MainLog.2023-11-18--07.38.47 (Crashed).log

ProjectOutfox-default.ThemeLua.2023-11-18--08.00.22 (root videos only).log

ProjectOutfox.Crash.2023-11-18--08.00.22 (root videos only).log

ProjectOutfox.MainLog.2023-11-18--08.00.22 (root videos only).log

ProjectOutfox-default.ThemeLua.2023-11-18--07.44.33 (Commented out -random-, added callout to video in root folder).log

ProjectOutfox.Crash.2023-11-18--07.44.32 (Commented out -random-, added callout to video in root folder).log

ProjectOutfox.MainLog.2023-11-18--07.44.32 (Commented out -random-, added callout to video in root folder).log

ProjectOutfox-default.ThemeLua.2023-11-18--07.45.55 (Crashed, added callout to video in root folder).log

ProjectOutfox.Crash.2023-11-18--07.45.55 (Crashed, added callout to video in root folder).log

ProjectOutfox.MainLog.2023-11-18--07.45.55 (Crashed, added callout to video in root folder).log

How can you reproduce the error?

  1. Have videos in a subfolder within the RandomMovies folder
  2. Call out one of those videos in #BGCHANGES in an .sm file.
  3. Call out -random- in #BGCHANGES in that same .sm file
  4. Attempt to play that song

Screenshots/Videos

No response

Game Mode

dance

Additional Information

I am running this on Manjaro KDE edition, fully up to date. This crash occurs both on OutFox version 0.4.19 LTS installed through the AUR and alpha 0.5.0 20230501.

Songs that load videos from the root RandomMovies folder but not any subfolders work fine, even with -random- callouts. Commenting out any -random- callouts in a simfile with any regular callouts to videos in a subfolder within RandomMovies allows that song to work. Adding a callout to a video in the root RandomMovies folder to a simfile that already contains callouts to a subfolder does not change any behavior.

This behavior seems to be consistent whether the RandomMovies are in a folder called out by AdditionalFolders= within Preference.ini or directly in the game folder.