Object? You use Object() to convert a Handle(), errh. The Handle() is an integer value that points to a Type structures' memory address and you use Object() to get the pointer back and access the Type structure - that probably doesn't make a lot of sense.
Your problem is that your loading a mesh that doesn't exist, or you've forget to Global one of the variables that points to your entity.
Your problem is that your loading a mesh that doesn't exist, or you've forget to Global one of the variables that points to your entity.