[FIXED] filter.vignette bug in daily builds?

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

Hi Jerry,

Just to confirm, your tests are working fine in #2100, but in #2160 the same code doesn’t work? This would point to a regression bug that needs to be fixed, so I’ll ask about it directly.

Thanks,

Brent

Hi Brent,

Yes, exactly that. It’s had me baffled for some time but after trying lots of options, it *seems* to be the filter.vignette responsible - remove it and everything is fine in the latest builds; put it back and display objects don’t appear…

Jerry

I fixed filter.vignette to work properly on devices. Please try tomorrow’s daily build and let us know if you have any further issues. Thanks!

Thanks albert90 - that’s fixed it! Fine now on iOS and Android. Many thanks for prompt turn around. I can return to using daily builds.

I have one specific device that has remaining issues with the filter - my Xoom: but I think that’s related to its graphics chip. My Nexus 4 and 7 are fine with the same code now it’s fixed.

Jerry

Hi Jerry,

Just to confirm, your tests are working fine in #2100, but in #2160 the same code doesn’t work? This would point to a regression bug that needs to be fixed, so I’ll ask about it directly.

Thanks,

Brent

Hi Brent,

Yes, exactly that. It’s had me baffled for some time but after trying lots of options, it *seems* to be the filter.vignette responsible - remove it and everything is fine in the latest builds; put it back and display objects don’t appear…

Jerry

I fixed filter.vignette to work properly on devices. Please try tomorrow’s daily build and let us know if you have any further issues. Thanks!

Thanks albert90 - that’s fixed it! Fine now on iOS and Android. Many thanks for prompt turn around. I can return to using daily builds.

I have one specific device that has remaining issues with the filter - my Xoom: but I think that’s related to its graphics chip. My Nexus 4 and 7 are fine with the same code now it’s fixed.

Jerry