Class loses properties after method call

Thats it. Either Einhuger or MBS override Rect. Once I removed those plugins it compiled and I saw the same as everybody else.

My gut feeling is that this is working correctly.

var otherObj as OtherTestClass = obj
mIdentifier is lost during the conversion to the Rect superclass.

var backAgain as TestClass = otherObj
• mIdentifier can’t be restored as it doesn’t exist in otherObj.
• The Constructor can’t be called as the object already exists.

You might have to use operator_convert to handle this scenario the way you want it to.

1 Like