Try turning off auto update for one night and see if it still crashes?
Otherwise, since Ubuntu uses systemd, any daemons/services crashing should be logged in the journal.
If you can access the machine directly (without rebooting), see what "
sudo systemctl status" and "
sudo journalctl" say. (You can use "
sudo journalctl -u servicename" to see logs related to just that service.)
Otherwise, if you need to reset it before you can login, use "
sudo journalctl -b -1" to access logs for the previous boot.
(If that doesn't return anything,
man systemd-journald has details of how to enable persistent journal.)