Starting with Android 5.0, many devices will act aggressively to try and save system battery power. Unless certain steps are taken, Tasker may not function as expected, either because Android is not sending it the needed signals in order to save power or because Android is even killing Tasker.
A commonly noticed symptom is that profiles with Time contexts don't activate or deactivate at the expected time.