Michał Szydłowski
Michał Szydłowski

Reputation: 3419

Why is LWRP/URP not rendering anything after migrating to Unity 2019.4.x?

I got a problem I'm struggling with for quite some time. I have a project (Mixed Reality Toolkit based app targeted for HoloLens) and in the process of migrating the project to suit HoloLens 2, I upgraded the Unity version from 2019.1.f1 to 2019.4.16f1. As it is meant for a HoloLens device, it used Unity's LWRP (Lightweight Render Pipeline). Now I know that since Unity 2019.3 I should actually use the URP (Universal Render Pipeline).

Sadly, after bumping project version and opening it in 2019.4, neither URP nor LWRP seem to work. The Camera preview goes black after entering Play mode, and the Game view shows only the default skybox (pictures below).

enter image description here

enter image description here

If I don't use any render pipeline, the camera does render (although of course a lot of elements have the default magenta texture, as shaders were coded to use LWRP).

Any ideas what might be the reason? I have correct URP version (2019.4 verified). Or does anyone have some tips on how to debug URP?

Upvotes: 0

Views: 1751

Answers (0)

Related Questions