Flickering world-space Canvas health bars


Hello, I have a problem with flickering health bars… I have uploaded the video so you can see the problem.
It is a world space canvas and two images, background and health bar. I have been trying to make the health bar with different methods like image raw, sprite renderer etc. but nothing helps.

You have a few possible solutions
A) The easiest one is to scale the white outline and make it a bit bigger, so the flickering wont be noticed as much.
B) You can also simply increase the render resolution or MSAA level.
C) I think that you could also just check “Pixel Perfect” on the canvas, but I am not sure if the game space canvas supports it.