Actions from Kopia UI and environment variables?

So, I have defined snapshot actions for several directories. The scripts executed by these actions rely on specific environment variables. When I create snapshots from the CLI after configuring the environment variables, the snapshots are successfully generated, and the actions/scripts run without any issues. However, when creating snapshots from the UI, the associated actions do not run at all, and there are no failure indications in the logs either. I suspect that this issue might be related to the required environment variables for the action scripts, though I’m not entirely certain. If this is indeed the cause, are there any potential fixes or workarounds available? I aim for my actions to consistently run regardless of whether the snapshots are created from the UI or CLI.
Please help