Alarm is being reset despite being repeating and persisted
Currently I'm working on a new mod that is heavily dependant on alarms. It's not the first time I've had to work with alarms but every time I work with them it's just a PITA to do :p
Currently I'm applying 2 alarms on a gameObject. Now, I've done this in the past and this would always stick around, except for this time, where after a few hours in, it works and then after those hours have passed, it's not being called anymore.
You can also try to wrap the method in a try/catch with no throw. If it throws a null exception or something the AlarmManager will not call it again.
Thanks for the reply!
Yeah, it was actually the fact that the function linked to it, when it reaches the 'else' I got in place, it will stop running since there's a null reference, so I should have tried it with a try/catch to begin with. :p