Problem Description
Some 9-patches cause other sprites to start disappearing. This does not happen in a new project. Specific 9-patches cause this, and it affects other layouts too (as long as the focus of the viewport contains the 9-sprite that causes the issue, all layouts with 9-patches are affected).
Attach a Capx
https://1drv.ms/f/s!AkG5n8_vobVPgfBEaeFY3KcZ4qoicw
Description of Capx
Contains 3 layouts, layout labeled 2-1 causes the bug (more specifically the ice on the sign), and layout 1-3 shows what the issue does.
Steps to Reproduce Bug
- Load the project
- Go to layout 2-1 and set viewport as shown in the picture.
- Zoom in and out and slightly move the viewport until the green tiles on the wooden platforms become invisible (I use middle mouse button to move around and mouse scroll wheel to zoom):
- Layout 1-3 should now have around 100+ sprites missing.
- To validate this is an editor visual issue, press play while you have 1-3 selected. All sprites load fine.
Observed Result
Sprites become invisible in layout viewport while in editor.
Expected Result
All sprites to appear properly while in editor.
Affected Browsers
N/A
Operating System and Service Pack
Tested on win 8.1 and win 10
Construct 2 Version ID
r227
Additional Info
-Saving the project only with 1-3 as the active layout and then restarting C2 will not cause the issue.
-Placeholder layout also causes a distortion to all sprites, again based on position of viewport. Not sure if this is the same bug. Repeat step 3 from list above until distortion happens. This is what the distortion looks like (text is normally parallel to screen edges)