Search Issue Tracker
Fixed
Fixed in 6000.0.60f1, 6000.2.7f1, 6000.3.0b6, 6000.4.0a2
Votes
1
Found in
6000.0.55f1
6000.2.0f1
6000.3.0a4
6000.4.0a1
Issue ID
UUM-113921
Regression
No
Source Generation with GeneratePropertyBag fails when using reserved keywords as variable names with @ prefix
Reproduction steps:
1. Open the attached “IN-111268.zip” project
2. Observe the Console
Expected result: No errors
Actual result: Lots of “Unity.Properties.SourceGenerator\Unity.Properties.SourceGenerator.PropertyBagGenerator\Foo_4f705fef96064c50afcfcf6d8d72b759_PropertyBag.cs(18,83)…” compilation errors
Reproducible with: 2023.1.0b1, 6000.0.55f1, 6000.2.0f1, 6000.3.0a4
Reproducible on: macOS 15.5 (M3 Pro), Windows 11
Not reproducible on: No other environment tested
Notes:
- Same issue can be reproduced with different reserved keywords, like "params", "void", etc.
- In the "TestScript.cs" script, changing the name to something else like “@test” makes the compilation errors go away
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
fkhznknqxm
Aug 10, 2025 14:10
I don’t where it came from