wit-unity icon indicating copy to clipboard operation
wit-unity copied to clipboard

Response Matcher empty + throws error about GUI functions

Open palebluewanders opened this issue 1 year ago • 5 comments

Whenever I try to add response matcher to my response handler object, the response matcher is completely empty and I get this error:

ArgumentException: You can only call GUI functions from inside OnGUI. UnityEngine.GUIUtility.CheckOnGUI () (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:300)

Screenshot 2023-06-12 at 10 39 54 AM

This error also occurs every time I click away from the response handler GO and back to it. I'm on Unity 2022.3.0. Any ideas?

palebluewanders avatar Jun 12 '23 01:06 palebluewanders

Update: Reverting to Unity 2021.3.20f1 resolves the above. So this seems to be a Unity 2022 issue.

palebluewanders avatar Jun 12 '23 01:06 palebluewanders

Thanks for the report. We'll take a look at it.

yolanother avatar Jun 14 '23 19:06 yolanother

Is this happening with Conduit or without?

MokhtarKhorshid avatar Jun 15 '23 22:06 MokhtarKhorshid

Without I assume, since I'm new to Wit and haven't heard of Conduit. This was just me trying to apply stuff from beginner tutorials to my existing app.

palebluewanders avatar Jun 16 '23 04:06 palebluewanders

@palebluewanders You may want to check out Conduit if you are using a recent enough version of the SDK. We will need to update those tutorials. For now, you can find out more details in the Conduit section of the documentation: https://developer.oculus.com/documentation/unity/voice-sdk-conduit/

MokhtarKhorshid avatar Jun 21 '23 01:06 MokhtarKhorshid