简体   繁体   中英

How can I get my scripts to update using Unity 2017.3.1f1 and Visual Studio 2017?

I am using Unity 2017.3.1f1 and Visual Studio 2017 to edit my scripts, but when I save them in visual studio they do not update in Unity and use the old scripts instead. I have tried refreshing my assets, deleting the ScriptAssemblies folder, but nothing has worked. Please help!

Perhaps try closing unity and vs, restarting unity and opening the vs solution by double clicking any script, make sure to clean your solution and then build your solution.

Also perhaps clear the NuGet cache and then restore the dependencies for your solution.

I've had some similar issues and this usually just requires some relaunching a couple times and repeating a clean, build, nuget restore process until everything is working properly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM