Search Issue Tracker
Fixed in 2022.2.3f1
Fixed in 2022.2.X, 2023.1.X, 2023.1.0a26
Votes
0
Found in
2022.2.2f1
2023.1.0a24
Issue ID
UUM-21715
Regression
Yes
Additional files are not always considered as input into the compilation pipeline when passed as input to Roslyn source generators
Reproduction steps:
1. Open the “SourceGeneratorTest_2022“ project
2. Open the “Assets/Code/Gameplay/LocalisationKeys.LocalisationKeysSourceGenerator” file
3. Modify the “ABOUT_CREW” key (e.g. to “BOUT_CREW”) and save
4. Return to the Editor and observe the Console
Expected result: “Assets/Code/Gameplay/MainCharacter.cs(11,36): error CS0117: 'LocalisationKeys' does not contain a definition for 'ABOUT_CREW'“ error
Actual result: Missing an error about the “ABOUT_CREV” key referenced in the “CharacterController” script being undefined
Reproduced in: 2022.2.0b1, 2022.2.2f1, 2023.1.0a1, 2023.1.0a24
Not reproduced in: 2021.3.16f1, 2022.2.0a19
Could not test in: 2020.3.43f1 (“'LocalisationKeyList' could not be found” error)
Reproduced using: macOS 13.0.1 (Intel)
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
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
Resolution Note (fix version 2023.1):
Fixed in 2023.1.0a26
Resolution Note (fix version 2022.2):
Fixed in 2022.2.3f1