Trying to create a checkpoint system but something isn't working. Can anyone help? Help

I check your code so maybe some of this issue happened!

1.you have a CheckpointSaveName maybe it is empty.

2.you have a cast and an overlap in the start check them work or not maybe some problem comes from the start!

3.if 1 and 2 are ok maybe you save but you won’t load that data