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
182 stars 3 forks source link

[FIXED] [Game Crash] ScreenDemonstration does not always set steps correctly #625

Closed 48productions closed 9 months ago

48productions commented 1 year ago

Describe the crash

On occasion, ScreenDemonstration will fail to load correctly, or cause a crash, depending on the theme in use. This does not happen consistently, but happens frequently enough to be easily reproducible. Tested using Outfox 4.18.1-LTS on Windows 10.

In Simply Spud (based on Simply Love), this causes a crash. A lua error is reported in the theme log at BPMDisplay:128 (GAMESTATE:GetCurrentSteps(PLAYER_1) returns nil).

In Soundwaves, ScreenDemonstration is skipped over in the attract loop when this occurs, and a lua error is reported in Character.NeedsBeginnerHelper:11. This line also attempts to access GAMESTATE:GetCurrentSteps().

ScreenDemo-SS-theme.zip ScreenDemo-default-theme.zip

The full error messages are found at default.ThemeLua:17 and Simply-Potato-SM5.ThemeLua:1824.

How can you reproduce the error?

  1. Enable Pay/Free Play mode to allow the game to enter the attract loop on a theme that uses ScreenDemonstration.
  2. Wait (or skip through screens) until ScreenDemonstration is shown.
  3. When ScreenDemonstration is reached, the issue may or may not reproduce. If it does, the game will either skip this screen and proceed to the next attract loop screen, or crash.
  4. If this issue does not reproduce, ScreenDemonstration will load as expected. Continue to cycle through the attract loop until the issue reproduces.

Screenshots/Videos

No response

Game Mode

dance

Additional Information

No response