Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a7
Issue ID
UUM-134976
Regression
No
The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
Reproduction steps:
1. Open the attached “IN-129952“ project
2. Open the Test Runner (Window > General > Test Runner)
3. Try to run the ValueDictionaryTests.CanSerialize test
4. Observe the test results
Actual result: The test runs and fails
Expected result: The code does not compile and the test can’t be ran
Reproducible with: 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7
Couldn’t test with: 2023.1.0a5 (Invalid dependencies for custom packages)
Reproducible on: Windows 11 (by reporter), macOS 26.3
Not reproducible on: No other environments tested
Note: This issue reproduces only with generic classes, with regular classes the errors are printed in the Console and prevent compilation
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Non-multisampled texture binding errors are logged when running the DepthBlit URP scene with MSAA enabled on Vulkan
- The Editor does not recognize code errors in generic classes when using C# Source Generator to generate serialization code
- Long Sprite names are not truncated in the Inspector window name label and the preview labels when a Sprite with a long name is selected
- NullReferenceException is logged when undoing Deletion of a Visual Query Block of a Search Expression
- “Unsupported type MinMaxCurve” error and “Could not register property modification for animation binding…” warnings are thrown after moving playhead when Particle System Property is added to Animation window
Add comment