Open jbevain opened 2 weeks ago
As a workaround, you can stay on:
Or add a .editorconfig
file to the root of your Unity project, containing:
dotnet_diagnostic.IDE0055.severity = none
dotnet_diagnostic.IDE0052.severity = none
dotnet_diagnostic.IDE0051.severity = none
dotnet_diagnostic.IDE0044.severity = none
Or also make the Unity messages public
.
Keeping this open for tracking the fix rollout for https://developercommunity.visualstudio.com/t/Private-Unity-messages-incorrectly-marke/10779025 specific to C# Dev Kit/VS Code.
Describe the Issue
Starting with C# DevKit 1.12.37 prerelease + C# 2.54.20 prerelease, Unity event functions/messages are categorized as unused code.
Steps To Reproduce
MonoBehaviour
Expected Behavior
The
Start
andUpdate
methods are categorized and visually identified as normal code.Environment Information
No response