In my Unity Game, the Image on my UI Panel got replaced with an "X" instead of the Image it is supposed to be, I tried adding a different image to the panel and making a new panel, but it still would display the image as an "X", here is an image. 
\$\begingroup\$
\$\endgroup\$
4
-
\$\begingroup\$ Can you walk us through the steps needed to reproduce this problem in a new, empty project? Once we can reproduce the problem, we can test proposed fixes to be sure they'll work for you. \$\endgroup\$DMGregory– DMGregory ♦2023-07-03 21:39:08 +00:00Commented Jul 3, 2023 at 21:39
-
\$\begingroup\$ I don't know how to reproduce this problem though, I don't know how it even started, so unfortunately I cannot provide steps to reproduce this error, sorry. \$\endgroup\$Stelbert Stylton– Stelbert Stylton2023-07-03 22:30:39 +00:00Commented Jul 3, 2023 at 22:30
-
\$\begingroup\$ Then you can work subtractively: make a copy of the project that has the problem, and start deleting stuff from it. Delete as much as you can while still observing the problem with new images you import. That helps narrow down the potential contributing factors. \$\endgroup\$DMGregory– DMGregory ♦2023-07-04 01:37:06 +00:00Commented Jul 4, 2023 at 1:37
-
\$\begingroup\$ It shows that you are looking at the UI element back side, i.e. its dimensions/size is flipped. Because of how relations between dependent RectTransforms work, under some screen sizes some elements can get flipped into negative size. \$\endgroup\$Nikaas– Nikaas2023-07-04 16:03:55 +00:00Commented Jul 4, 2023 at 16:03
Add a comment
|
1 Answer
2
-
\$\begingroup\$ you have to set these values right.. \$\endgroup\$Cebrail Akyüz– Cebrail Akyüz2023-07-04 10:40:56 +00:00Commented Jul 4, 2023 at 10:40
-
\$\begingroup\$ This answer would be more useful if it described how a user can identify what values are "right" or "wrong" for fixing this problem. \$\endgroup\$2023-07-04 12:15:59 +00:00Commented Jul 4, 2023 at 12:15

