Hi,
I had an issue during this lesson that my player’s unique identifier was not consistent between scenes. When the game tried to load the weapon from the other scene it wasn’t finding the same player there. So it found the player in the other scene and the currentWeapon wasn’t set yet causing an error.
Did we take measures earlier in the course to prevent the Unique Identifier from being different for the player between scenes? Should the identifier be set in the prefab? Did I make a mistake somewhere? I solved the bug by manually copying and pasting the unique identifier from one scene into the other scene.
Thanks for your help.