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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.