Unsupported int type GUIStyle

Started getting this error on Console window and it’s unclear what it means. Doesn’t point to a line of code and only appears when GUI code is running. Must be from a new GUIStyle that I just added. Anybody see this error before:

Unsupported int type GUIStyle

Maybe some parameter on the GUIStyle isn’t right, but I don’t see it.

Is the object with the Monobehavior where you declared your GUIStyle a Prefab?. I had the same issue. Try to do some changes to your current scene object so you loose prefab (if that is ok for your case) and then add the GUIStyle to it. I don’t know what is the problem with a prefab, but even if I had my prefab disabled on the actual scene, with a Monobehavior attached with the GUIStyle declared, it causes this error. So In my case my prefab is a very simple object and I could create a similar object from scratch and add the Monobehavior with the GUIStyle and that fixed the issue.

Hope this helps.