Search Issue Tracker
Fixed
Fixed in future release
Votes
1
Found in
2021.3.34f1
2022.3.17f1
2023.2.5f1
2023.3.0b3
6000.0.0b11
6000.1.0a7
Issue ID
UUM-61401
Regression
No
Additional File paths do not get updated for Source Generators when the paths are edited
Reproduction steps:
1. Open the attached "unity" project
2. Open the project folder with Windows Explorer and open the "unity.sln" with a Code Editor
3. In the Code Editor, open the generated file "Assembly-CSharp/Dependencies/Source Generators/ AdditionalFilesSourceGenerator.SampleSourceGenerator/AdditionalFilesExample.g.cs"
4. Take note of the paths of the Additional Files
5. Go back to Unity Editor and rename the "Assets/Example.AdditionalFilesSourceGenerator.additionalfile" to "Assets/Eexample.AdditionalFilesSourceGenerator.additionalfile"
6. Wait for the project to refresh
7. Go to the Code Editor and observe the results
Expected results: Renaming the file causes the Additional File path to update in "AdditionalFilesExample.g.cs"
Actual results: The Additional File path does not update in "AdditionalFilesExample.g.cs"
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.5f1, 2023.3.0b3
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Note: Reopening the project with Unity Editor and Code Editor, updates the Additional File paths
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Fixed by another internal issue: RIDER-47: Additional File paths do not get updated for Source Generators when the paths are edited
Resolution Note (fix version future release):
Fixed by another internal issue: RIDER-47: Additional File paths do not get updated for Source Generators when the paths are edited