Image sheet scaling issue

We ran across an issue while trying to tile images in our project.  I submitted a bug report already (#33835).

This issue appears on device builds only, it will not show up in the simulator.

I have only tested this on iOS.

Images loaded from image sheets have transparent edges.

The more instances of the image being loaded, the worse the edge gets.

This does not seem to be an issue with the “cutting out” of the image from the image sheet.

 

To reproduce:

  1. Load an image from an image sheet with no transparency (i.e. a white rectangle.)
  2. Create several instances of the image.

Note the bottom edge of the images.  There is a 1-pixel row, which in each occurrence, is successively more and more transparent.

 

In the files I provided I tiled a white rectangle loaded from an image sheet 25 times across the screen.  On device you can clearly see the transparent edges getting progressively worse.

 

There is more details in the main.lua file in the project I provided.

After more experimenting, I believe this is a scaling issue.  Objects loaded from image sheets seem to not come out at the correct scale, but rather are scaled down in the Y direction.  In some cases on my application, the scaling is several pixels.

Has anyone tested this on their own devices?

After more experimenting, I believe this is a scaling issue.  Objects loaded from image sheets seem to not come out at the correct scale, but rather are scaled down in the Y direction.  In some cases on my application, the scaling is several pixels.

Has anyone tested this on their own devices?