dear-imgui-unity icon indicating copy to clipboard operation
dear-imgui-unity copied to clipboard

Documentation suggestion

Open bwheatley opened this issue 4 years ago • 4 comments

When using the Universal Render Pipeline, add a Render Im Gui Feature render feature to the renderer asset. Assign it to the render feature field of the DearImGui component.

This line is confusing, I spent some time trying to add a "render feature" and then add that "render feature" to the imgui component. But in reality i needed to update the "renderer asset". I know that's what the docs say, but it was worded confusing. If i'm the only person who has the issue just close this, but being a little more clear might help folks trying to get started. <3 thanks for putting this project together, i appreciate the effort.

bwheatley avatar May 06 '20 08:05 bwheatley

Hey, I don't understand this either.

There is no "renderer asset", I guess you mean the "pipeline asset"? And I don't see any "render feature" in the pipeline asset (at least in HDRP), or anywhere else. I also don't see the "render feature" field of the DearImGui component.

I'm extremely confused by that line in the docs.

nothke avatar Jun 13 '20 12:06 nothke

Same here, i tried to add all those things, but still confused on how to achieve the needed result. Can someone give us some insight on how to achieve that

zakkar avatar Jul 07 '20 09:07 zakkar

I had the same issue and here is what you need to do (what the doc says but with pictures):

You have this issue because you created a Universal Render Pipeline (URP) Asset, and it's set it in your project settings: image

In this URP Asset, you have set a Forward Renderer Data: image

(Optional) If you didn't set a Forward Renderer Data, create your own: image (End of Optional)

In this Forward Renderer Data, you need to click "Add Renderer Feature" and select the ImGui Feature. image

Only then can you go to your GameObject/Prefab which contains the Dear Im Gui component, and there you'll be able to select the renderer feature:

image

There you go ! I hope this helps.

millonf avatar Oct 24 '20 13:10 millonf

Many thanks @millonf - Really appreciated and save me a headache or two.

trapazza avatar Nov 21 '20 01:11 trapazza