Search Unity

  1. Click here to receive a gift with your purchase of Unity Pro or Unity Enterprise.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Text Flickering on Dynamic Panel

Discussion in 'UGUI & TextMesh Pro' started by kaushikwavhal, Aug 17, 2020.

  1. kaushikwavhal


    Apr 27, 2020
    I created a dynamic panel and a text on an empty gameObject in the scene. I am using Oculus SDK's OVRPlayerContoller as the Camera in my scene. When i hit, play, this simple text flickers when i move the camera. I have just fired a simple POC for dynamic panel creation using script, but not sure how to work around this text flickering issue. In the script, to the empty object i attach the Image (i just wanted a solid color as a rectagular background for the text) as its child and i put a text as a child of this Image.

    You can see the flickering in the GIF below.

    Attached Files:

  2. Stephan_B


    Unity Technologies

    Feb 26, 2017
    The above appears to be a Z fighting issue as the text intersects with the plane. I would suggest adding a small offset to move the text forward in front of the plane.

    This can still result in some issues at sharp viewing angles but should be fine otherwise.