Write / Read were changed to Save / Load
Be aware you cannot detect if game closes either it is preview or HTML version or mobile ver or desktop version
So you need to either create auto save based on some time intervals
Or you need to save automatically at some points of your game
Or manually with well save button
I would just not advise to spam it cause you can corrupt your storage
Yet loading can be done with At beginning of the scene condition to auto load when game starts