The bar Sprite of ProgressBar fails to map its texture under filled mode correctly when its SpriteFrame happens to be auto-rotated in the underlying sprite sheet.
Steps to reproduce:
- Prepare two images, one for the progress bar track and one for the bar
- Generate a sprite sheet, forcing the texture to be rotated (e.g. by tweaking the max width property)
- Create a ProgressBar and assign the sprite frames
- Set mode to filled
- Test in simulator, it should work fine
- Test again with mobile build, the bar would look like as if it is set as simple mode