Hey i just added the universal rendering pipeline to my game and had to change out the pixelperfekt camera component as there is one build into URP. But now my Charakter laggs or flickers behind.
here a video of it:
https://drive.google.com/file/d/1QaFm68Yi218JyIzGjI_H8E1VRvdABGzU/view?usp=sharing
Any idea what causes this? The Charakter is composed of sprites and bones to make animation easier.
I also tried this script:
PixelPerfectCam.cs
using UnityEngine;
/**
* A camera to help with Orthagonal mode when you need it to lock to pixels. Desiged to be used on android and retina devices.
*/
public class PixelPerfectCam : MonoBehaviour {
/**
* The target size of the view port.
*/
public Vector2 targetViewportSizeInPixels = new Vector2(480.0f, 320.0f);
/**
This file has been truncated. show original
but it dosnt work
LonLon1
February 17, 2021, 11:01pm
3
@cunibon
Did u solved it?