Greetings,
it is now the third time Unity tricks me, and it is not funny. I am doing some tests with the Network but sometimes (three times), the scripts modifications are not taken in account (or badly). It results in weirds behaviour, and dysfunctionning stand alone. I end up making a post on the forum and saying few minutes, hours later that deleting the build and making it again solved the problem ._.
How frequent is that thing supposed to happen ? When I change my script, I expect Unity to take them into account = if it does not work, then I am wrong !
Make sure you open the script files by double-clicking them from within the Unity project. If you open them from the text editor’s Open Recent menu, say, then Unity won’t know to check the files for changes. The only other common reason for scripts not to be updated is when there are compile errors. If the problem only happens in the built app, there may be some reason why the build is failing. To check this out, open the console window just after a build and click the Open Editor Log button. This log should show you any errors that occur during the build.
Well, it usually happens when I have the previous build still running. Unity says then that he cannot write the files.
So ? I close the previous build, and I rebuild. But what happens then is what I described : not all changes are included.
But it sometimes happens even if I did not do the mistake to build the project, with the previous build running…
About the script editor, I use the native one, UniScite.
Edit : plus, Virtools having traumatized me, I am a HUGE user of Ctrl + S since.