I don’t know how you guys use geometry for button. Using DirectGUI with geom or image doesn’t behave as I need. Moreover, I don’t think it’s trivial to inject collision system inside the existing GUI system.
So I created my own button system, with more risks, but the nice thing is I can extend it anyway I need.
You probably have put the data files into the wrong position. Some “could not find” error has probably occured a few lines before you get the described error.
If you load a model into a variable, which cannot be found, the variable will be set to None. None does not have any functions, thus this error.