Closed darkalardev closed 2 weeks ago
Press pause in the middle of the animation.
Attach expanded Hierarchy view screenshot of your UI layout to see if multiple copies of the UI window has been created.
Attach screenshot of the Inspector view of the UI camera.
Is there more than 1 camera in the scene?
Do you have any postprocessing effects that affect the camera?
Is Clear Flags
property of the UI camera set to Solid Color
or something else?
Inspect the rendered frame using this Unity tool: Window - Analysis - Frame Debugger.
Hello!
I wouldn't be seeing the UI duplicated. Something curious happens, when you pause in the middle of the animation, you see the ghost effect but it disappears despite having the game paused.
I have different canvases since it is a modular system and for optimization I do not want to render the entire UI.
I thought it could be a problem with the canvas group but even if I delete it it still happens. These canvases are not tied to a camera, but those in the main menu where the same thing happens, if they are, specifically in Canvas > Render Mode > Screen Space Camera. I'm using Unity 2022.3.25f1 URP
Try to reproduce this in a new Unity project using Built-In Render Pipeline.
It looks like your current render pipeline is not properly configured to clear depth or frame buffer every frame.
I solve it! I made a new project in URP so that the Render is configured correctly, and there must always be a camera in the scene.
Hello! I'm working on UI animations using DOTween Pro but the animations creating ghost effects. I testing with this scripts:
protected virtual void OnEnable() { transform.DOPunchScale(new Vector2(1.3f, 1.3f), 0.2f); }
I thought it was an error in my script but when I removed it and used the DoTween tool the same thing happened:
Error that happens:
https://github.com/Demigiant/dotween/assets/62443810/c6b846b0-4ab5-48c0-a672-920fa9ab756f
Try to use the above but in another panel and the texts look bad when animated:
Before:![image](https://github.com/Demigiant/dotween/assets/62443810/595f99f4-ee55-4bf5-978d-3e4777eb4292)
After:![image](https://github.com/Demigiant/dotween/assets/62443810/d5a60487-7b01-43bd-aedc-1f40c50f4f3c)
I thought it might be a Render error, so I made the same animation using Animator and it looks correct.