Simple app is not consistently loading on the simulator

I just noticed this happening, and it seems to be consistent with smaller apps. It’s not a showstopper, just a slight nuisance.

Basically I keep two folders handy; one with the project I’m working on and one with a temp file that I can paste bits of code into to test things quickly. Well I noticed that small bits of code that should be working fine don’t load in the simulator all the time, such as:

[lua]local img = display.newImage(“test.png”)
img.x = 200
img.y = 300[/lua]

Sometimes the simulator will give me a black screen, and only after reloading it a couple times does the image actually load. The console doesn’t produce any errors, just the normal startup message.

The code isn’t usually as simple as loading an image, it’s usually a few objects, a function or two and a touch handler.

Anyone else experience this? Is it a bug?

Tested in 2011.627 and 2011.623 [import]uid: 120 topic_id: 15777 reply_id: 315777[/import]

Hey Bryan,

Will pass this on :slight_smile:

Peach [import]uid: 52491 topic_id: 15777 reply_id: 58347[/import]