Hi all, I’ve ran into this issue in the past and have fixed it rather easily using various techniques people have suggested but I think this time it may have the better of me
So it initially started on my team members computer where there assembly references couldn’t be found such as TMPro & UnityEngine.UI, I started by ensuring their editor was set to use visual studio 2019 and the appropriate packages where ticked along with regenerating their files, this didn’t work so we updated to visual studio 2022, it and it fixed it self, but once they gave me the script it basically corrupted all of my work like a virus… and i started encountering the issue.
Things that I’ve tried.
- Ensuring unity 2021 LTS is up to date.
- I installed the latest version of unity.
- Ensuring visual studio 2022, is up to date.
- I downgraded visual studio to 2019 and tried again.
- Made sure the visual studio packages where up to date.
- I uninstalled and reinstalled the visual studio packages
- I deleted all of the CSJPRO
- I uninstalled and reinstalled all versions of unity and visual studio.
This appears to be a VS issue not a unity issue as Unity executes and runs the scripts as expected, but visual studio just cannot read the namespaces.
Thank you! Shanks37