Often when moving in front of an open chest and having the item info pop-up panel be displayed, the panel is in a bad position for one frame, then corrects itself the next frame.
From memory, this is an issue with the Unity Canvas system not detecting positions properly the first frame the Canvas is enabled.
But the position becomes correct the next frame.
But since the first frame is bad, this presents:
Bad UI positioning for one frame, which is unpleasant
Significantly causes issues during Couch Co-op, where the game's camera will zoom out way too far to cater for the first-frame position being wrong.
Particularly noticeable when viewing a Potion.
todo:
[x] Probably don't make the item UI show for the first frame – either move it off-camera completely, or scale it to zero for the first frame.
[x] Don't make the camera include UI position testing during the first frame.
Noticed in 0.4.
Often when moving in front of an open chest and having the item info pop-up panel be displayed, the panel is in a bad position for one frame, then corrects itself the next frame.
From memory, this is an issue with the Unity Canvas system not detecting positions properly the first frame the Canvas is enabled.
But the position becomes correct the next frame.
But since the first frame is bad, this presents:
todo:
[x] Probably don't make the item UI show for the first frame – either move it off-camera completely, or scale it to zero for the first frame.
[x] Don't make the camera include UI position testing during the first frame.