Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

My app (version 0.0.17 Alpha) more often than not ends up crashing and causing the playdate to automatically shut down and restart. Seems to happen most often when I'm using (connecting to or manipulating pots) on the 4-channel output modules, but I've had it happen otherwise. I've tried deleting the app and doing a fresh download after the update to 2.2, hoping it was related to that issue mentioned in your recent post when 2.2. came out. The problem persists, unfortunately. Here are the latest few entries on my device's error log, in case this helps in diagnosing the problem(s): 

2024/02/05 18:31:12

/Games/User/user.100948.orllewin.playdate.modularplayer.pdx

CoracleViews/rotary_encoder.lua:96: bad argument #1 to 'setImage' (playdate.graphics.image expected, got no value)

stack traceback:

[C]: in method 'setImage'

CoracleViews/rotary_encoder.lua:96: in method 'setValue'

Modules/Synths/OrlSynth/synth_mod.lua:336: in method 'turn'

Modules/module_manager.lua:233: in method 'handleCrankTurn'

Interface/modular_screen.lua:320: in function <Interface/modular_screen.lua:301>

2024/02/05 18:32:06

/Games/User/user.100948.orllewin.playdate.modularplayer.pdx

CoracleViews/rotary_encoder.lua:96: bad argument #1 to 'setImage' (playdate.graphics.image expected, got no value)

stack traceback:

[C]: in method 'setImage'

CoracleViews/rotary_encoder.lua:96: in method 'setValue'

Modules/Synths/WavetableSynth2D/wavetable_synth2d_mod.lua:208: in method 'turn'

Modules/module_manager.lua:233: in method 'handleCrankTurn'

Interface/modular_screen.lua:320: in function <Interface/modular_screen.lua:301>

2024/02/05 18:35:07

/Games/User/user.100948.orllewin.playdate.modularplay.pdx

CoracleViews/rotary_encoder.lua:96: bad argument #1 to 'setImage' (playdate.graphics.image expected, got no value)

stack traceback:

[C]: in method 'setImage'

CoracleViews/rotary_encoder.lua:96: in method 'setValue'

Modules/Synths/WavetableSynth/wavetable_synth_mod.lua:149: in method 'redrawBackground'

Modules/Synths/WavetableSynth/wavetable_synth_mod.lua:260: in method 'invalidate'

Modules/module_manager.lua:215: in method 'invalidate'

Modules/module_manager.lua:178: in method 'move'

Interface/modular_screen.lua:557: in method 'move'

Interface/modular_screen.lua:616: in method 'draw'

main.lua:227: in function <main.lua:220>


2024/02/08 11:10:13

/Games/User/user.100948.orllewin.playdate.modularplayer.pdx

Modules/Mixers/Mixer4Sliders/mix4sliders_component.lua:35: attempt to index a nil value
stack traceback:
Modules/Mixers/Mixer4Sliders/mix4sliders_component.lua:35: in method 'setPan'

Modules/Mixers/Mixer4Sliders/mix4sliders_mod.lua:268: in method 'turn'

Modules/module_manager.lua:233: in method 'handleCrankTurn'

Interface/modular_screen.lua:320: in function <Interface/modular_screen.lua:301>

Thanks for the detailed report, that makes fixing bugs so much easier. I don’t get the constant crashes you report though, the buggiest area of the code is removing modules. That can create a bad state that makes everything subsequently misbehave. I fix the issues when I find them so it should get more and more stable. I’ll look through the crash reports you’ve posted and see what I can do.