So I have a pretty large OnGUI code but I keep getting errors like this
when I double click it it takes me to something like this
but the script still runs it just puts lots of those errors up and I can’t figure out why.
Any ideas?
Thanks
So I have a pretty large OnGUI code but I keep getting errors like this
when I double click it it takes me to something like this
but the script still runs it just puts lots of those errors up and I can’t figure out why.
Any ideas?
Thanks
From the errors you are receiving, specifically “ArgumentException: You can only call GUI functions from inside OnGUI.”
I would have to guess that you are not calling your GUI functions from within OnGUI.