The following comment causes a release build to crash immediately. No build errors occur for either development or release, which makes this a particularly nasty bug.
local math_max = math.max local math_min = math.min --[[ 16:9 pixel ratio. The resolution is intentionally low to give it the retro-pixel look. The actual screen ratio must also match, otherwise we'll get nasty looking pixel rendering. --]] local virtual_base_width = 640 local virtual_base_height = 360 local scale = 1.125
If we change the comment from ending in
]]-- the app works again.