Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.29f1
6000.0.3f1
Issue ID
UUM-73030
Regression
Yes
"Warning CS8032: An instance of analyzer Unity.Properties.SourceGenerator.PropertyBagGenerator cannot be created" is thrown when using Visual Studio 2022
Reproduction steps:
1. Open the “My Project.zip” project
2. Open Edit > Preferences > External Tools
3. Set External Script Editor to Microsoft Visual Studio 2022
4. In the Project window, double-click the script to open it in Visual Studio
5. Inside Visual Studio, observe the Error list
Expected results: No warnings are thrown
Actual results: A CS8032 warning is thrown
Reproducible with: 2022.3.25f1, 2022.3.29f1, 6000.0.3f1
Not reproducible with: 2021.3.38f1, 2022.3.24f1
Reproducible on: Unknown Windows version (6.2.9200) 64bit (by reporter), Windows 11 Pro
Not reproducible on: No other environments tested
Note: Reproduced on Visual Studio 2022 version 17.9.7
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
- Palette Settings link to the documentation isn’t working
- Tags & Layers window has inconsistent remove button behaviour between Tags, Sorting Layers, and Rendering Layers when there are no removable items in the list
- "Type Options" and "Node Library" dropdowns do not open when clicked on the title
- Public char variables uneditable in Inspector when project setting "Use IMGUI Default Inspector" is enabled
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
Resolution Note:
Hi! This seems like an issue with Visual Studio 2022 version 17.9.7. Upgrading to Visual Studio 2022 version 17.10.0 should resolve the issue.