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)