Skip to content

Game crashes when using the high quality shaders and hovering over the black hole card. #58

Description

@gabrielsubzero

After a lot of trial and error i found what was causing the crashes, it's that setting. Here's the crash log:

Oops! The game crashed:
[SMODS _ "src/ui.lua"]:46: Drawing to the stencil buffer with a Canvas active requires either stencil=true or a custom stencil-type Canvas to be used, in setCanvas.

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0BETA-1606b-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
1: Grim by mathguy [ID: GRM, Version: 1.3, Uses Lovely]
2: Card Sleeves by Larswijn [ID: CardSleeves, Priority: -10, Version: 1.9.1, Uses Lovely]
3: Partner by baimao [ID: partner, Priority: -10, Version: 1.0.2g, Uses Lovely]
4: Paperback by Paperback Team [ID: paperback, Version: 0.8.1, Uses Lovely]
5: Galdur by Eremel_ [ID: galdur, Priority: -10000, Version: 1.2.1e, Uses Lovely]
6: Banner by SylviBlossom [ID: banner, Version: 1.2.1, Uses Lovely]
7: All in Jest by Nevernamed, Survivalaren, RattlingSnow353, Jumbocarrot, ejwu2 [ID: allinjest, Priority: 9999, Version: 0.6.4, Uses Lovely]
8: Handy by SleepyG11 [ID: Handy, Version: 1.5.1p, Uses Lovely]
9: Grab Bag by Th30ne [ID: GrabBag, Version: 0.8.31p1, Uses Lovely]
10: Spectrum Framework by wingedcatgirl [ID: SpectrumFramework, Priority: 36, Version: 1.0.0
BETA-20250904, Uses Lovely]
11: Finity by Freh, missingnumber [ID: finity, Priority: 1.1, Version: 1.4.7, Uses Lovely]
12: Amulet by frostice482, ... [ID: Amulet, Priority: -10000000000, Version: 3.5.2, Uses Lovely]
exp_color: default
thread_fix_num: yes
thread_fix: modify
13: Bunco by Firch, RENREN, Peas, minichibis, J.D., Guwahavel, Ciirulean, ejwu [ID: Bunco, Priority: -1, Version: 5.4.8b~JumboFork, Uses Lovely]
14: JokerDisplay by nh6574 [ID: JokerDisplay, Priority: -1000000000, Version: 1.9.6, Uses Lovely]
15: Better Tags by WaffleDevs [ID: bettertags, Version: 1.0.4, Uses Lovely]
16: Prism by Blazingulag [ID: Prism, Version: 1.9.3, Uses Lovely]
17: Cryptid by MathIsFun
, Cryptid and Balatro Discords [ID: Cryptid, Priority: 114, Version: 0.5.15a, Uses Lovely]
18: Manifold by ouiiskey [ID: manifold, Version: 1.0.4, Uses Lovely]
19: Save Rewinder by Liafonx [ID: save_rewinder, Priority: 26, Version: 1.6.2, Uses Lovely]
20: Custom Suit Order by DigitalDetective47 [ID: SuitOrder, Priority: 1.79e+308, Version: 1.0.2]
21: Unjankify by Blazingulag [ID: Unjank, Version: 1.0.0, Uses Lovely]
22: Held Joker by joelmforsyth [ID: HeldJoker, Version: 1.0.0]
23: Six Suits by Aure, Crimson Heart [ID: SixSuits, Priority: 37, Version: 1.2.1]
24: Blueprint by stupxd aka stupid, Jonathan [ID: blueprint, Priority: 69, Version: 3.3, Uses Lovely]
Lovely Mods:
1: BalatroAudioHotSwitch

Stack Traceback

(3) field C function 'stencil'
(4) Lua field 'reset_stencil_stack' at Steamodded file 'src/ui.lua:46'
(5) Lua field 'push_to_stencil_stack' at Steamodded file 'src/ui.lua:13'
Local variables:
stencil_fn = Lua function '?' (defined at line 81 of chunk [SMODS _ "src/ui.lua"])
old_level = number: 0
new_level = number: 1
(6) Lua method 'draw_children' at Steamodded file 'src/ui.lua:81'
Local variables:
self = table: 0x404b0870 {velocity:table: 0x404b3270, under_overlay:false, click_offset:table: 0x404b2960, UIT:7, alignment:table: 0x404b34b0, children:table: 0x404b0898 (more...)}
stenciled = boolean: true
v = nil
h = number: 1
(7) Lua method 'draw' at file 'engine/ui.lua:312'
Local variables:
self = table: 0x404aa200 {click_offset:table: 0x404aedb8, children:table: 0x404af510, parent:table: 0x404bb7f8, T:table: 0x404aecc8, offset:table: 0x404afba8, role:table: 0x42f80c90 (more...)}
(8) Lua local '_draw' at file 'engine/ui.lua:845'
Local variables:
self = table: 0x404bb7f8 {click_offset:table: 0x42f7fb40, children:table: 0x404bb820, parent:table: 0x404bb498, T:table: 0x42f7fa50, offset:table: 0x42f80840, role:table: 0x42f80ab0 (more...)}
shader = nil
send = nil
(9) Lua method 'draw_self' at file 'engine/ui.lua:909'
Local variables:
self = table: 0x404bb7f8 {click_offset:table: 0x42f7fb40, children:table: 0x404bb820, parent:table: 0x404bb498, T:table: 0x42f7fa50, offset:table: 0x42f80840, role:table: 0x42f80ab0 (more...)}
button_active = boolean: true
parallax_dist = number: 1.5
button_being_pressed = boolean: false
_draw = Lua function '?' (defined at line 726 of chunk engine/ui.lua)
element_shader = nil
element_shaders = table: 0x444c4160 {1:table: 0x444c41a0}
(for generator) = C function: builtin#6
(for state) = table: 0x444c4160 {1:table: 0x444c41a0}
(for control) = number: 1
_ = number: 1
v = table: 0x444c41a0 {no_shader:true}
(10) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:557'
Local variables:
self = table: 0x404bb498 {pixellated_rect:table: 0x444c2208, click_offset:table: 0x42f822d8, children:table: 0x404bb4c0, parent:table: 0x404bb2f8, T:table: 0x42f821e8 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404bb4c0 {1:table: 0x404bb638, 2:table: 0x404bb7f8, 3:table: 0x404bb998}
(for control) = number: nan
k = number: 2
v = table: 0x404bb7f8 {click_offset:table: 0x42f7fb40, children:table: 0x404bb820, parent:table: 0x404bb498, T:table: 0x42f7fa50, offset:table: 0x42f80840, role:table: 0x42f80ab0 (more...)}
(11) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404bb498 {pixellated_rect:table: 0x444c2208, click_offset:table: 0x42f822d8, children:table: 0x404bb4c0, parent:table: 0x404bb2f8, T:table: 0x42f821e8 (more...)}
stenciled = boolean: false
(12) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404bb2f8 {velocity:table: 0x42f83e40, under_overlay:false, click_offset:table: 0x42f83530, UIT:4, alignment:table: 0x42f84080, children:table: 0x404bb320 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404bb320 {1:table: 0x404bb498}
(for control) = number: nan
k = number: 1
v = table: 0x404bb498 {pixellated_rect:table: 0x444c2208, click_offset:table: 0x42f822d8, children:table: 0x404bb4c0, parent:table: 0x404bb2f8, T:table: 0x42f821e8 (more...)}
(13) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404bb2f8 {velocity:table: 0x42f83e40, under_overlay:false, click_offset:table: 0x42f83530, UIT:4, alignment:table: 0x42f84080, children:table: 0x404bb320 (more...)}
stenciled = boolean: false
(14) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404ba8c8 {click_offset:table: 0x42f847b8, children:table: 0x404ba8f0, parent:table: 0x404b8f18, T:table: 0x42f846c8, offset:table: 0x42f854b8, role:table: 0x42f85728 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404ba8f0 {1:table: 0x404baa68, 2:table: 0x404bb2f8}
(for control) = number: nan
k = number: 2
v = table: 0x404bb2f8 {velocity:table: 0x42f83e40, under_overlay:false, click_offset:table: 0x42f83530, UIT:4, alignment:table: 0x42f84080, children:table: 0x404bb320 (more...)}
(15) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404ba8c8 {click_offset:table: 0x42f847b8, children:table: 0x404ba8f0, parent:table: 0x404b8f18, T:table: 0x42f846c8, offset:table: 0x42f854b8, role:table: 0x42f85728 (more...)}
stenciled = boolean: false
(16) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404b8f18 {pixellated_rect:table: 0x4a22d738, click_offset:table: 0x42f85a40, children:table: 0x404b8f40, parent:table: 0x404b8d78, T:table: 0x42f85950 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404b8f40 {1:table: 0x404b90b8, 2:table: 0x404b97b8, 3:table: 0x404ba8c8}
(for control) = number: nan
k = number: 3
v = table: 0x404ba8c8 {click_offset:table: 0x42f847b8, children:table: 0x404ba8f0, parent:table: 0x404b8f18, T:table: 0x42f846c8, offset:table: 0x42f854b8, role:table: 0x42f85728 (more...)}
(17) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404b8f18 {pixellated_rect:table: 0x4a22d738, click_offset:table: 0x42f85a40, children:table: 0x404b8f40, parent:table: 0x404b8d78, T:table: 0x42f85950 (more...)}
stenciled = boolean: false
(18) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404b8d78 {pixellated_rect:table: 0x4a22bce0, click_offset:table: 0x42f86d60, children:table: 0x404b8da0, parent:table: 0x404b8bd8, T:table: 0x42f86c70 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404b8da0 {1:table: 0x404b8f18}
(for control) = number: nan
k = number: 1
v = table: 0x404b8f18 {pixellated_rect:table: 0x4a22d738, click_offset:table: 0x42f85a40, children:table: 0x404b8f40, parent:table: 0x404b8d78, T:table: 0x42f85950 (more...)}
(19) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404b8d78 {pixellated_rect:table: 0x4a22bce0, click_offset:table: 0x42f86d60, children:table: 0x404b8da0, parent:table: 0x404b8bd8, T:table: 0x42f86c70 (more...)}
stenciled = boolean: false
(20) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404b8bd8 {click_offset:table: 0x42f87f78, children:table: 0x404b8c00, parent:table: 0x404b8a38, T:table: 0x42f87e88, offset:table: 0x42f88b70, role:table: 0x42f88de0 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404b8c00 {1:table: 0x404b8d78, info:table: 0x42f8c6d0}
(for control) = number: nan
k = number: 1
v = table: 0x404b8d78 {pixellated_rect:table: 0x4a22bce0, click_offset:table: 0x42f86d60, children:table: 0x404b8da0, parent:table: 0x404b8bd8, T:table: 0x42f86c70 (more...)}
(21) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404b8bd8 {click_offset:table: 0x42f87f78, children:table: 0x404b8c00, parent:table: 0x404b8a38, T:table: 0x42f87e88, offset:table: 0x42f88b70, role:table: 0x42f88de0 (more...)}
stenciled = boolean: false
(22) Lua upvalue 'uieDrawChildrenRef' at file 'engine/ui.lua:558'
Local variables:
self = table: 0x404b8a38 {velocity:table: 0x42f89a00, under_overlay:false, click_offset:table: 0x42f89190, UIT:7, alignment:table: 0x42f89c40, children:table: 0x404b8a60 (more...)}
layer = nil
(for generator) = C function: next
(for state) = table: 0x404b8a60 {1:table: 0x404b8bd8}
(for control) = number: nan
k = number: 1
v = table: 0x404b8bd8 {click_offset:table: 0x42f87f78, children:table: 0x404b8c00, parent:table: 0x404b8a38, T:table: 0x42f87e88, offset:table: 0x42f88b70, role:table: 0x42f88de0 (more...)}
(23) Lua method 'draw_children' at Steamodded file 'src/ui.lua:104'
Local variables:
self = table: 0x404b8a38 {velocity:table: 0x42f89a00, under_overlay:false, click_offset:table: 0x42f89190, UIT:7, alignment:table: 0x42f89c40, children:table: 0x404b8a60 (more...)}
stenciled = boolean: false
(24) Lua method 'draw' at file 'engine/ui.lua:312'
Local variables:
self = table: 0x404b7460 {velocity:table: 0x404b7ce8, offset:table: 0x404b8378, click_offset:table: 0x404b7790, shadow_parrallax:table: 0x404b83d8, children:table: 0x404b7ae0 (more...)}
(25) Lua upvalue 'gameDrawRef' at file 'game.lua:3797'
Local variables:
self = table: 0x392c0168 {gold_bar:table: 0x3a2c4258, F_GUIDE:false, F_CRASH_REPORTS:false, booster_pack_sparkles:table: 0x48b09630, ultra_status:table: 0x3afb0038, F_QUIT_BUTTON:true (more...)}
(for generator) = C function: next
(for state) = table: 0x392e4478 {1:table: 0x404b7460}
(for control) = number: nan
k = number: 1
v = table: 0x404b7460 {velocity:table: 0x404b7ce8, offset:table: 0x404b8378, click_offset:table: 0x404b7790, shadow_parrallax:table: 0x404b83d8, children:table: 0x404b7ae0 (more...)}
(26) Lua method 'draw' at Steamodded file 'src/ui.lua:59'
Local variables:
self = table: 0x392c0168 {gold_bar:table: 0x3a2c4258, F_GUIDE:false, F_CRASH_REPORTS:false, booster_pack_sparkles:table: 0x48b09630, ultra_status:table: 0x3afb0038, F_QUIT_BUTTON:true (more...)}
(27) Lua field 'draw' at file 'main.lua:1077'
(28) Lua function '?' at file 'main.lua:992' (best guess)
(29) global C function 'xpcall'
(30) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '?' (defined at line 960 of chunk main.lua)
inerror = boolean: true
deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions