Hi @remiduchalard,
Can you please test it so that your command to create the image occurs at least one time-step after your command to “display.setDefault()”? For example, create a tiny timer:
[lua]
display.setDefault( “preloadTextures”, false )
local function onDelay()
imagemenu.engrenages=graphics.newImageSheet(“choniveau/engrenages.jpg”,{width=696,height=606,numFrames=1,sheetContentWidth=696,sheetContentHeight=606})
engrenages=display.newImage(imagemenu.engrenages,1)
end
timer.performWithDelay( 100, onDelay )
[/lua]
Pleae test and report to me if this crashes on the same devices your current code is crashing on.
Best regards,
Brent