I’ve been having problems with images not appearing on devices (all runs fine in the simulator). After a bit of experimenting, it seems to be whenever I apply filter.vignette to the display objects. Is anyone else seeing this?
I’ve tested lots of recent daily builds (up to 2014.2160) with the same result. The last public build 2013.2100 does not have this issue and works fine both in the sim and on devices.
Code to repro this in the daily builds can be as simple as:
local screenW = display.contentWidth
local screenH = display.contentHeight
local myImage = display.newImageRect( “{image name}”, screenW, screenH)
myImage.anchorX = 0.0
myImage.anchorY = 0.0
myImage.fill.effect = “filter.vignette”
myImage.fill.effect.radius = 0.3
With this code, the display on devices is blank. Remove the two lines related to the filter effect, and it runs just fine and displays the image as expected.
Am I doing something dumb, or can others repro this? If so, I’ll get a bug filed …
Thanks,
Jerry