I installed Unity fresh a couple of days ago and started a new project. Scripts updated just fine for the first day and a half. I have been using Visual Studio as my IDE but have confirmed that this issue also occurs in MonoDevelop. Currently, anytime I make a change to a script, the script does not update inside of Unity. This also happens in another project that I created.
For example, if I change “public float projectileCollsionOffset = 4.0f;” to “public float projectileCollsionOffset = 5.0f;” in my script, I can look in the inspector and it will still be set to 4. Setting the number in the inspector also does not reflect the change in the script.
Removing the script completely from my player object and re-adding it after the changes are made does in fact work. However this is extremely tedious.
Can someone explain why this occurs and how to fix it?
I have read that it may have something to do with the meta files but haven’t found any useful information on what to change with the meta files so that it fixes the issue. It may not even be related to meta files, but that’s what I found so far.