How do I use URP?
AgrYpn1a opened this issue · 4 comments
Hey, I've read through the docs, but I am unable to setup URP, I just can't find where to add the rendering feature, and there is no Dear Im Gui component.. any help would be greatly appreciated (maybe post screenshots). I am using Unity 2019.
Hello there. It seems in 2019 the directive HAS_URP is not satisfied because we're using version 10+.
I'm fixing and will update very soon.
Thanks for your feedback.
68dfafd fix this. Could you use the version 4.0.1 and see if you can following the instructions below?
I made a blank project so it can be slightly different from yours
1- find your renderer and add RenderImGui component on it:
3- change Renderer Type to procedural (just because it's 2019)
4- drag you RenderImGui Component created on your renderer
5- add your shader and style (the UImGui package has two default that you can use: Packages/UImGui/Resources/)
6- (optional) add Show Demo Window Script in your scene
7- (optional) the URP shaders are not working very well with FXAA, so if you're getting an blurry image, you can change to other:
If it fixed your problem, could you close this issue please?
Thanks again.
Yes, this worked. Thanks a lot! :)
Noting for anyone trying to do this with URP 17 / Unity 6, the steps are different:
- Add the RenderImGui comonent and Rendering Feature as stated above
- In the inspector for your Universal Renderer Data asset (the thing to which you just added the Rendering Feature), click the 3 dot menu at the top right (next to the lock icon) and change it from "Normal" to "Debug"
- Now you should see a "Renderer Features" dropdown, expand that, then right click on the RenderImGui renderer feature and select "Copy"
- Now go back to the RenderImGui component, right click on the Render Feature input and select "Paste"
- You will also need to enable RenderGraph compatibility mode at
Project Settings > Graphics > URP > Render Graph > Compatibility Mode (Render Graph Disabled)
. Otherwise you will not see IMGUI render at all.