InvokeRepeating stopped and Inspector not updating

Hi all,
I’m new to Unity and I’m hoping this is a common newbie problem.

I’ve been going through the WalkerBoys tutorials and about half way through each project I experience a peculiar issue. The code I change in a javascript stops updating the Unity environment.

This happened again today at the same time that InvokeRepeating stopped running my gameTime counter. I didn’t change any code relating to the InvokeRepeating. I’ve restarted my pc and Unity but no change.

I had a similar experience when trying to update a prefab but I figured out that I wasn’t Applying the change. However, I can’t find anything similar to effect the scripts.

Any ideas? Sorry for being so vague.

ah I went through the tutorial again and figured out what happened. As I suspected, one was a newbie issue:

As I was hardcoding variable values, successive “plays” of the game didn’t reset the values in the Inspector. I’ve learned that using the Start() function will programmatically force these values to be updated to what I want. This was confusing but I understand why and how this was happening!

Second issue seems to be a function conflict. InvokeRepeating was working fine until the tutorial had me add a new line:

yield WaitForSeconds(LoadWaitTime);

it seems that “yield” and/or WaitForSeconds(); functions conflict with InvokeRepeating.