Steamopollys / Steamodded

A Balatro ModLoader
GNU General Public License v3.0
188 stars 42 forks source link

Unlock(?)-related crash #159

Closed Firch closed 1 month ago

Firch commented 1 month ago

Experiencing a crash when unlocking some things (most likely Jokers).

изображение изображение

First happened when I tried to unlock my own Joker, but also noticed this happening with some vanilla things. So I removed all the mods (except DebugMod) and confirmed that this also happens with just Steamodded.

Steps to reproduce:

Without any mods:

  1. Open the game with Steamodded installed (0702a-STEAMODDED)
  2. Pick an empty save profile (or create one)
  3. Start a red deck run
  4. Finish it (here - I can hear the sound for the unlock, yet there's no plaque appearing)
  5. Go to the main menu afterwards
  6. Crash

With mod:

  1. Have a Joker that starts locked, yet has an check_for_unlock function returning true
  2. It will unlock just as the game starts up
  3. Crash

Crash error is the same for both of these cases. Reopening the game will avoid that crash, and the thing that was supposed to unlock will be unlocked in the collection.

For other things, this never happened with decks being unlocked. It feels like something might be broken with Jokers specifically.