Search Issue Tracker

Won't Fix

Won't Fix in 2023.2.X

Votes

0

Found in

2020.3.46f1

2021.3.21f1

2022.2.11f1

2023.1.0b8

2023.2.0a6

Issue ID

UUM-30447

Regression

No

Missing tooltips for C# System namespace classes when hovering over a class name in code editors

CodeEditors

-

Reproduction steps:
1. Open the "IN-33927.zip" project
2. Open the “Example” script in “Assets\Scripts”
3. Hover over the "string" class name in line 6 and observe the tooltip

Expected result: Tooltip shows "class System.String Represents text as a sequence of UTF-16 code units."
Actual result: Tooltip show "class System.String"

Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6

Reproducible on: Windows 10

Note: Tested editors: Visual Studio Code, Visual Studio

Workaround:
1. Copy "netstandard.xml" file. Example path of "netstandard.xml" file: "C:\Program Files\dotnet\packs\NETStandard.Library.Ref\2.1.0\ref\netstandard2.1\netstandard.xml"
2. Paste it to the "{UNITY_VERSION}\Data\NetStandard\ref\2.1.0" folder. "UNITY_VERSION" example path: "C:\Program Files\Unity\2023.2.0a6_5de4d4fd9e52_x64"
3. If the "Assets\Scripts\Example.cs" file was open in a code editor, restart the code editor, otherwise, open the "Assets\Scripts\Example.cs" file
4. Hover over "string" in line 6 and observe the tooltip

  1. Resolution Note:

    Unfortunately this is not something that can be easily fixed for us.
    However, in a future version where the build pipeline will be based on MSBuild, this should not be an issue anymore.

  2. Resolution Note (2023.2.X):

    Unfortunately this is not something that can be easily fixed for us.
    However, in a future version where the build pipeline will be based on MSBuild, this should not be an issue anymore.

Add comment

Log in to post comment