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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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.