Search Issue Tracker
Fixed in 6.6.0
Votes
0
Found in [Package]
4.9.0
Issue ID
1126569
Regression
No
SubAsset texture input in ShaderGraph not working
It seems that ShaderGraph does not properly handle the case where assets (textures) used as input are stored as SubAssets in the project, when serializating the shader.
Steps to reproduce:
- open included project
- open "New Shader Graph" with ShaderGraph editor
- Assign the two textures contained as SubAssets in "New TextureContainer" to the Sample Texture nodes in the graph
- Save the ShaderGraph asset
- Select "New Material"
Expected result:
The material inspector showing the two texture properties, both with the correct, different texture applied.
Actual result:
The material shows that the first SubAsset texture gets assigned to both texture properties in the shader. It seems that ShaderGraph does not handle the case where the asset is a SubAsset properly during serialization, and can only use the first SubAsset in the container.
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 GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment