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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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.