Hello, after the Saving Race Conditions lecture in the RPG course I started getting the following NullReference:
I made sure that all of my referencing was done in the correct places as Brian has suggested in previous comments, and tried to debug the problem, but it still isn’t working. Interestingly when I have a saved game in Scene 1 and I click play in Scene 2 it has no problem loading back to Scene 1 and doesn’t throw any errors, it’s simply whenever I click play and load into the same Scene that it has a problem.
I’ll include the Console Log and the Weapon Script (since that’s the first thing that shows up, though it may be unrelated). I also apologise if this is not a race condition and rather something small, I just can’t for the life of me figure out what it is! Thank you for any help you can provide!