StackOverflowException when showing a form to a player - solution

Have you experienced such an error?


  • Total voters
    3

Leonidius

Member
Long story short: you can't use objects as your form's class' fields. If your form is an object of your own class, which extends FormWindowSimple, FormWindowCustom or FormWindowModal, and one (or more) of your class' fields are objects, you will get this error. You can only use primitive types, such as String, char, int, double, long, short, byte.

I hope this message was helpful.
 
Top