Scripts won't update in editor after changing them in VScode
Hello, I am working on a Unity project (2019.4.12) using VSCode 2019. My project is built on top of a far more complicated one that someone else wrote, and it pulls from 3 remote repos, has a load of addressables, translates from haxe, and does a lot of other things that are a bit above my head.
Previously I had been working with these 3 repos versioned in a VSCode workspace (that did not include versioning of my unity project file), and things were working smoothly. However, I recently uploaded my project file to its own repo on Bitbucket, and added that to my VSCode workspace as well (with a complicated thing where I had to add one of those other repos as a submodule in my Packages folder).
Now whenever I edit & save my scripts in VS Code and click back into unity, they compile like normal, and the changes show in the code preview in the inspector, but the changes do not update when I run the project. The only way I can get Unity to recognize changes is to restart the editor entirely. I'm worried this has something to do with the git setup (at least that's when my troubles began) but I have no idea how to fix it. Please please can someone point me in the right direction about how to solve this?
Does anyone have ideas about this? I am losing my $$anonymous$$d over here.
I have tried messing with the autorefesh and external editor settings to no avail. Reimporting/resetting/refreshing the scripts in the project/inspector windows seems to do nothing.
Please, I would love some guidance!
i unfortunately have no idea with this, but since unity answers can be really slow you should cross post it on stack overflow and unity forums if that can help....again im sorry i can't help
Your answer
Follow this Question
Related Questions
Using a script to auto sort file hierarchy causes error CS2001 0 Answers
Visual Studio / Git / Unity - All files and folders I add are going into untracked files - why? 1 Answer
VS Code showing errors in Editor scripts while referencing another class 1 Answer