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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.