|
Post by joaorequiao on Feb 23, 2023 20:59:12 GMT
Hello everyone,
I'm Joao Requiao, from Overlord Game Studio. We've been working on a game called Tiny Little Bastards for over 5 years, and we've spent the majority of that time using PC2D.
Recently, I had to upgrade my Unity to 2021.3.18f1 (and also updated the PC2D plugin). After the update/upgrade, my cameras started behaving very weirdly. Every time a new scene that contains a PC2D camera is started, the cameras will not render properly until I select the main camera in the hierarchy. As soon as I select the camera, it starts working, but when the scene changes, the same thing happens.
Below is a video showing what's going on. Does anyone have any idea what the hell is happening?
Note: This is happening mainly when I have multiple parallax layers (basically the whole game).
|
|
|
Post by joaorequiao on Feb 23, 2023 21:08:20 GMT
Oh... I forgot to mention. I changed from default renderer pipeline to URP.
|
|
|
Post by Luís Pedro Fonseca on Feb 23, 2023 21:21:17 GMT
Hi João. Are you using the Parallax extension?
|
|
|
Post by joaorequiao on Feb 23, 2023 21:29:20 GMT
Hey! Yes, I'm using the parallax extension in every scene. Attachments:
|
|
|
Post by Luís Pedro Fonseca on Feb 23, 2023 21:33:17 GMT
You might have to setup the Parallax plugin from scratch because it has upgraded to add support for URP. Can you test the included demo scene and see if it works for you?
|
|
|
Post by joaorequiao on Feb 23, 2023 21:53:22 GMT
It seems to be working fine... I'll try to reconfigure my cameras. It's gonna take some time!
Thanks for the reply, btw!
|
|
|
Post by joaorequiao on Feb 23, 2023 22:02:06 GMT
Yeah... resetting the parallax component and adding the Parallax object component to some layers fixed the issue!
|
|
|
Post by Luís Pedro Fonseca on Feb 24, 2023 8:28:01 GMT
Glad it worked out! Cheers
|
|