Search Issue Tracker
Won't Fix
Votes
3
Found in
2017.4.0f1
2019.2.0a11
2019.3.0a1
2019.3.0a7
Issue ID
1166748
Regression
Yes
Code completion does not work for MonoBehavior callback methods when using Visual Studio 2019
How to reproduce:
1. Create and open a new project
2. Make sure you have Visual Studio 2019 selected under Preferences > External Tools > External Script Editor
2. Create and open a new C# script
3. Try typing the beginning of any callback method (f.e. OnTriggerEnter)
Expected results: MonoBehavior callback methods appear in the suggestions
Actual results: No MonoBehavior callback methods appear in the suggestions
Reproducible with: 2017.4.29f1, 2019.2.0b8, 2019.3.0a8
Not reproducible with: 2018.4.3f1, 2019.1.8f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note:
This is an issue with the Visual Studio Tools for Unity (VSTU) integration in Visual Studio 2019. We are unable to fix this bug, as this product is owned and maintained by Microsoft. Please report this bug to vstusp@microsoft.com