Reflect doesn't affect setter

I’ve just discovered that when I use reflection to populate class members it doesn’t go through getter and setter. Any workaround?

I suspect I know what the issue is, but correct me if I’m wrong…Reflect is finicky with the difference between “fields” and “properties”. “Fields” means true member variables and will not allow you to set a getter/setter, so Reflect.setField(…) will not give you the desired result. For that, you need to use Reflect.setProperty(…) which, for some reason, works on both properties and fields.

Here’s some more info on physical fields

Thanks guys, resolved.