plugin.setFieldValue returns undefined

Hello! I’m writing a plugin in which, during debugging, I ran into a very unrelated bug: apparently plugin.setFieldValue() returns undefined instead of a promise as the documentation says. Can it be something wrong on my side?

Looks like we return undefined if you are not providing the correct arguments, have you checked that?