Dim bmp as Bitmap
try
'in debug mode this works fine
bmp.Initialize(File.DirAssets, "icon_select.png")
catch
'I believe an exception is thrown in release mode here because this "loading.png" image is shown instead
log(LastException)
bmp.Initialize(File.DirAssets, "loading.png")
end try