Search Issue Tracker
Feature Request
Votes
0
Found in [Package]
13.1.8
14.0.3
15.0.0
Issue ID
SGB-165
Regression
Yes
Shader Graph’s generated material is not duplicated when using shortcuts
Reproduction steps:
1. Open user’s attached project
2. Select Assets/Models/DiceGraph and expand it
3. Select DiceGraph Shader Graph generated material and duplicate it using Ctrl+D or Cmd+D shortcuts
Expected result: Generated material can be duplicated
Actual result: Material cannot be duplicated followed by three errors:
- _Duplicated asset name 'Material/DiceGraph' contains invalid characters. Those will be replaced in the duplicated asset name._
- _Can't create asset because path is empty._
- _UnityException: Creating asset at path failed._
Reproducible with: 13.1.7 (2022.1.0b11), 13.1.8 (2022.1.13f1), 14.0.3 (2022.2.0b4), 15.0.0 (2023.1.0a5)
Not reproducible with: 13.1.6 (2022.1.0b10)
Reproducible on: macOS 12.5, Windows 10
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- 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
Resolution Note:
Because this is a subasset on an imported asset, modifying or duplicating the asset will not create the expected outcomes. If there is a need for having a fast way to create a new material from a shadergraph, we can explore what workflow would work fast for that.