sebastianhein / urp_kawase_blur

URP renderfeature test project
421 stars 76 forks source link

Not working on newer URP version #16

Open JuniorDjjr opened 1 year ago

JuniorDjjr commented 1 year ago

This and some other renderer feature assets are causing the following error when the renderer feature is enabled:

You can only call cameraColorTarget inside the scope of a ScriptableRenderPass. Otherwise the pipeline camera target texture might have not been created or might have already been disposed. UnityEngine.Rendering.Universal.ScriptableRenderer:get_cameraColorTarget () KawaseBlur:AddRenderPasses (UnityEngine.Rendering.Universal.ScriptableRenderer,UnityEngine.Rendering.Universal.RenderingData&) (at Assets/KawaseBlur/KawaseBlur.cs:126) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

When searching there are solutions on how to upgrade to the new version. But I don't have the knowledge and time for that.

JuniorDjjr commented 1 year ago

In fact, there is a pull request to fix that.

https://github.com/sebastianhein/urp_kawase_blur/pull/12

So here is my warning.