Search Issue Tracker
Won't Fix
Won't Fix in 2.0.X
Votes
1
Found in [Package]
2.0.5
Issue ID
VS-29
Regression
No
Visual Studio 2019 loses references to the libraries when the 'Scripting Define Symbols' contains a large number of characters
How to reproduce:
1. Open the attached '1296518.zip' project
2. In the Project window double-click on the 'Test' Script
3. Open the Solution Explorer in the Visual Studio (View > Solution Explorer)
4. Open the Error List (View > Error List)
5. In the Solution Explorer expand Assembly-CSharp > References
6. Select any item in the References list
7. Focus on the Script editing area
8. Observe the Error List in the Visual Studio
9. If the issue doesn't reproduce repeat steps 5 to 7 (usually reproduces on the first try, however occasionally it may take up to 3 tries)
Expected result: There are no visible warnings present
Actual result: Warnings appear in the Visual Studio Error List
Reproducible with: 2018.4.30f1, Visual Studio Editor 1.0.2 (2019.4.16f1, 2020.1.17f1, 2020.2.0b14, 2021.1.0a9), 2.0.5 (2020.1.17f1, 2020.2.0b14, 2021.1.0a9)
Cannot test with: Visual Studio Editor 2.0.5 (2019.4.16f1) (the Visual Studio Editor package version is not supported)
Notes:
- Tested with Visual Studio Community 2019 16.8.2
- The character count depends on the Unity version
- In 2018.4 there is no Visual Studio Editor package
- Major part of the warnings are related to referenced components not being found except for the following warning:
'Load of property 'DefineConstants' failed. The argument for the property 'Conditional Compilation Constants' is too long.'
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note:
This will not be fixed
Resolution Note (2.0.X):
This is a bug in Visual Studio itself. Microsoft is aware of it and is tracking it on their system.