Hi,
I am having an issue with the saving of the scene when going through the portals. I thought it was just something I have done wrong when following along, but I also get the same problem when I run your code from GitHub.
I have tried using versions 2018.4.7f1, 2019.2.21f1 and 2019.3.2f1.
When I enter the portal the scene changes to the next scene, but it seems to load multiple times. It looks like the Sandbox 2 scene is being loaded multiple times as it shows multiple time in the Hierarchy. When it has finished loading I am left with multiple instances of the portal from the old scene under the do not destroy on load object (please see image). The number of portal objects left here varies from run to run.
I also get multiple errors in the console (please see image), there is one for each portal left over in the do not destroy object
This error refers to this bit of code
When I start to run the code I make sure there is no existing save file.
Are you able to assist me to figure out what is going on here?
Thank you
Kind Regards
Leah