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

"Exception of type 'UnityEngine.ExitGUIException' was thrown." error happens whenever you click the circle next to a reference #48

Closed
Phasedragon opened this issue Sep 14, 2020 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@Phasedragon
Copy link

Phasedragon commented Sep 14, 2020

Doesn't seem to break anything whatsoever, but worth mentioning

image

Error leads to line 325 of UTEditor.cs

image

@orels1
Copy link
Owner

orels1 commented Sep 14, 2020

Intresting, not really sure what can be happening here, considering i just draw a regular field 🤔 but i'll take a look, might be a wontfix tho

@orels1 orels1 added the bug Something isn't working label Sep 14, 2020
@orels1 orels1 added this to the v0.5.0 milestone Sep 14, 2020
@orels1
Copy link
Owner

orels1 commented Sep 14, 2020

So i added a try-catch to the gui code to fallback to the default editor instead of fully crashing and stuff, but for some reason - Unity throws an ExitGUI exception when you click on the circle thing, while it hides it when you don't have a try-catch. Aded a check that just silences the ExitGUI as there is seemingly no harm in that, maybe will look into the root of the issue down the line.

Fixed in develop
Here's a package:
UdonToolkit_v0.4.2.zip

@orels1 orels1 modified the milestones: v0.5.0, v0.4.2 Sep 15, 2020
@orels1 orels1 closed this as completed in 245dec8 Sep 15, 2020
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

2 participants