Home >Backend Development >C++ >Unity Autocomplete Not Working in Visual Studio: How Can I Fix It?
When editing the Unity script in Visual Studio, it is expected to automatically complete the Unity -related code. However, sometimes this function is missing. This article aims to solve this problem and provide detailed solutions.
Question: Automatically complete the lack of
When you type Unity -related code in Visual Studio, the problem will appear, but the menu will not appear automatically, as shown in a given video example. The "miscellaneous file" message next to the script name can identify this problem.
Reason:
Open the script from the folder outside the Unity editor
Unity collapsed when Visual Studio openedInstall or reinstall Visual Studio Tools for Unity.
The Visual Studio is set to an outer script editor in the Unity premiere.
Use the connection icon in Visual Studio to connect to the Unity instance. Create a new C#file in Unity to verify whether it will open without the "miscellaneous" label.
Repair Plan 4:
.USER <.> .sln <.>
Re -open the script from Unity to generate a new Visual Studio file.
Repair Plan Seven:
If necessary, click and select "Load Project" by right -click to ensure that all projects have been loaded into the solution resource manager.
The above is the detailed content of Unity Autocomplete Not Working in Visual Studio: How Can I Fix It?. For more information, please follow other related articles on the PHP Chinese website!