Search Issue Tracker
Fixed
Fixed in 2023.2.0b1, 2023.3.0a1
Votes
0
Found in
2023.2.0a22
Issue ID
UUM-41432
Regression
Yes
"Warning CS8032 An instance of analyzer Unity.UIToolkit.SourceGenerator.UxmlSerializedDataGenerator cannot be created" is printed in Error List when using Visual Studio 2022
Reproduction steps:
1. Open the attached project “CS8032_Warning”
2. Open Edit > Preferences > External Tools
3. Set External Script Editor to Microsoft Visual Studio 2022
4. In the Project window create a new C# Script
5. Open the newly created script
6. Observe the Error List
Expected result: There are no warnings
Actual result: Multiple CS8032 warnings are printed
Reproducible with: 2023.2.0a9, 2023.2.0a22
Not reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a8
Reproducible on: Windows 10
Notes:
Warnings do not appear when using Rider or older Visual Studio versions
It might take a couple of seconds for Warnings to appear
Reproducible with newly created projects
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Add comment