Skip to content

Add drawing material setup in DebugGUIWindow to fix Unity6 error#2

Open
AntonioDrk wants to merge 1 commit into
WeaverDev:masterfrom
AntonioDrk:patch-1
Open

Add drawing material setup in DebugGUIWindow to fix Unity6 error#2
AntonioDrk wants to merge 1 commit into
WeaverDev:masterfrom
AntonioDrk:patch-1

Conversation

@AntonioDrk

Copy link
Copy Markdown

While trying out the plugin, I was met with the following error in Unity 6.1
"GL.End requires material.SetPass before"

This happened in the example scene and it happened when using only the Graph GUI as well.
Found out that in the newer vers of Unity you're required to do a SetPass on the material before the GL.Begin - GL.End block

Fix for Unity6 of error:
"GL.End requires material.SetPass before"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant