GPG Tutorial – Saved Games (Code)

GPG Tutorial – Saved Games (Code)

This post contains all the code that’s been written in the YouTube video.

You can read it at your own pace, although watching the video prior to looking at this code example is recommended.









3 thoughts on “GPG Tutorial – Saved Games (Code)

  1. Thank you VERY MUCH for the Tutorial!!! It is GREAT!!

    Immediately after playing my game in Unity the Console shows the following error:

    NullReferenceException: Object reference not set to an instance of an object
    ManagerScript.Start () (at Assets/Scripts/ManagerScript.cs:14)

    and line 14 refers to: UIScript.Instance.UpdateHighscoreText(); in the void Start()

    it looks like the function returns “null”…

    Another silly thing is that my Highscore does not get back if I stop and start again neither in Unity nor on device. I also doubt if the highscore ever gets saved on the cloud.

    What would you recommend to troubleshoot?

Leave a Comment