Reputation: 173
Two questions the first how to zoom in and zoom out ? and why i have that red line in some resolutions is it a bug or a problem (i tried reimporting the package and recreate the project but nothing new) ?
Upvotes: 0
Views: 4469
Reputation: 185
It's about resolution and aspect ratio.
I see you are using an asset for this "Pixel Perfect Camera". If you want to zoom in and out you need to make sure you are staying in line with the original supported resolutions (and the aspect ratio).
On your camera settings the "Reference Resolution" is 320x180, on the error it says you're in "485x279", so it seems your project is in 16:9 (aspect ratio).
20*16 and 20*9 = 320x180. Keep your resolution in line with your aspect ratio. Simply put, you need a multiple of 16 for width and of 9 for height.
Upvotes: 2