I have a same probrem.
after setting tasker, it works for a moment. But it was killed somehow.
I tried these setting.
Accessibility > 'Tasker On'
Additional setting > Battery & performance > Manage apps battery usage
I chose 'Standard' mode then chose tasker, set 'No restrictions' and 'Allow'...