Search Issue Tracker
Fixed
Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.18f1, 2023.2.0a14
Votes
0
Found in
2020.3.47f1
2021.3.22f1
2022.2.13f1
2023.1.0b10
2023.2.0a9
2023.3.0a3
Issue ID
UUM-32235
Regression
No
ROOTNAMESPACEBEGIN variable is parsed to the new script when placed on the first line of the template
Reproduction steps:
1. Open the attached project “ScriptTemplateBug“
2. Open the Assets folder
3. In the Project window press RMB>Create>C# BrokenClass
Expected result: Script is created with an empty class
Actual result: Template variable “#ROOTNAMESPACEBEGIN#” is parsed before an empty class
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a9
Reproducible on: Windows 11
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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Resolution Note (fix version 2023.2.0a14):
Fixed the logic used to replace the #ROOTNAMESPACEBEGIN# token
Resolution Note (fix version 2023.1.18f1):
Fixed an issue with custom script templates containing #ROOTNAMESPACEBEGIN# on their first line
Resolution Note (fix version 2022.3.12f1):
Fixed an issue with custom script templates containing #ROOTNAMESPACEBEGIN# on their first line
Resolution Note (fix version 2021.3.32f1):
Fixed the logic used to replace the #ROOTNAMESPACEBEGIN# token