Inheritance issue migrating from 3.5.2 to 3.8.3

Hello @pandamicro, @jare

I’m trying to update some of my games from 3.5.2 to 3.8.3.
I’m encountering an issue during serialization of the script. The problem seems to be occurring with the super calls in the constructor of custom components that I have.

In the image attached below:

  • I’m using the BonusContainer as a custom component of a prefab.
  • BonusContainer inherits from Container.
  • The super call from BonusContainer runs fine. The value of info variable is assigned the right value when I log it from inside the Container constructor, but when I log the same from BonusContainer class constructor it is undefined.

All this was working fine in both 3.4 and 3.5. Not sure what changed in terms of serialization here in 3.8. Could you please help me resolve this?