Can't use the property name "size" in a widget

Describe the bug:

If you define a widget property with the name “size”, and add the widget to a template, the property will be missing when you add the template to an entity.

How do you cause this bug?

  • Create a script folder on the user
  • Add a new ui widget to the script folder
  • Add a new property called “size” to the widget
  • Create a template out of the script folder
  • Drag the template on to the user - notice that the size property is missing.

Screenshots / video of bug:

Which platform: PC

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: October 12 2022

Version number (found in Help tab in Settings): 0.h1.79.132582

Hi @Cereal,

Thanks for the report and great video. I’ve reproduced the issue and sent a report through.