Everything worked for me before the update to 4.22. The strange thing is that the script throws an error in the script file itself when I run it from smart content, but it works from the content library.
So the problem is on my side.
In general, I began to notice a lot of small bugs throughout the studio. For example, default values are constantly flying off in the parameters tab.