#Cannot extract blur ui shader from shade graph samples
1 messages · Page 1 of 1 (latest)
I keep gettin this
Shader error in 'Shader Graphs/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(273)
If the graph uses an include file (for custom function node) you would need to copy that too. The error shows the path/filename.
i have copied it but no matter what i do i get these 5 errors
Shader error in 'Shader Graphs/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(273)
Shader error in 'Procedural/Helpers/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(161)
Shader error in 'Procedural/Helpers/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(161)
Shader error in 'Shader Graphs/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(273)
Shader error in 'Procedural/Helpers/Master': Couldn't open include file 'Assets/Samples/Shader Graph/17.2.0/UGUI Shaders/Subgraphs/Helpers/SafeHDSceneColor.hlsl'. at /(161)
it seems to be consisted of three files, the main graph, the subgraph and the hlsl, but if i take them out of the folder i get this. also if i delete the samples it stops working
You may need to copy the .meta files associated with those too, or it'll regenerate with a new guids and not know how to connect them.
Or open the Scene Color Blurred subgraph, reassign the .hlsl file to the "SafeHDSceneColor (Custom Function)" node (under Node Settings tab, while that node is selected). Save that then open the main graph, replace the subgraph node if it shows a warning on it and resave that.
thanks ill try it. when i move them from the project panel dont the meta files move too?
it randomly decided to work although i didnt do anything different
unfortunately the masking of the image component doesnt work because of the custom shader, any idea how to fix it?
im using a circle sliced mask for rounded corners
If the shader uses the _MainTex property it should be able to obtain the sprite/UI image texture
can i fix it through a setting? i dont dare edit the graph
UI masking requires alpha clipping
Not sure but could be related