I have a Garmin Forerunner 745 and I have a frequent issue where all of the data is missing from midnight until a random time in the morning.
I am wearing the watch all night and I'm pretty sure the data is being recorded to the watch. I think the issue might be when syncing to Garmin Connect.
This is a very commonly reported issue and there seems to never be a solution for it. I have contacted Garmin support but only received a template email back with some links to troubleshooting guides that did not solve the problem.