Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2018.4
2019.4
2020.1
2020.1.15f1
2020.2
2021.1
Issue ID
1298935
Regression
No
Custom Script templates defined in the Project don't get applied when creating a new Script via the Add Component menu
How to reproduce:
1. Open the attached '1298935.zip' project
2. Open 'SampleScene'
3. In the Hierarchy select 'Cube'
4. In the Inspector select 'Add Component'
5. Create a new Script (via the Add Component menu)
6. Open the newly created Script
Expected result: The Script gets created with the custom Script template
Actual result: The Script gets created with the default Script template
Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10
Notes:
- The issue does not reproduce when creating a new Script by right-clicking in the Project window
Comments (1)
-
unity_nZUuTJHeqpSfcQ
Dec 15, 2020 18:41
Good.
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1