Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Make the code compatible with RenderGraph (Unity 6) #74

Open
TheRealDorcan opened this issue Dec 4, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@TheRealDorcan
Copy link

Hello!

UImGui will just not work if RenderGraph is not disabled in Unity 6 with URP.

Also in any case Unity will flood the log with warnings about the fact RecordRenderGraph is not implemented in RenderImGUI.CommandBufferPass (A temporary fix is to override RecordRenderGraph and leave it blank).

The render pass UImGui.Renderer.RenderImGui+CommandBufferPass does not have an implementation of the RecordRenderGraph method. Please implement this method, or consider turning on Compatibility Mode (RenderGraph disabled) in the menu Edit > Project Settings > Graphics > URP. Otherwise the render pass will have no effect. For more information, refer to https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest/index.html?subfolder=/manual/customizing-urp.html.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Thanks!

@TheRealDorcan TheRealDorcan added the bug Something isn't working label Dec 4, 2024
@charlietran
Copy link

charlietran commented Dec 11, 2024

I have a Render Graph compatible solution working from my fork, which you can install via https://github.com/charlietran/uimgui.git#ct-updates and read more about at https://github.com/charlietran/uimgui.

Add the UImGui component to your scene and tick the box for "Urp Render Graph Bypass". Do not add the ImGui Render Feature to your pipeline as normally instructed.

Probably not an ideal solution but I was not able to figure out a way to make it work as a Renderer Feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants