“Shader warning in 'Hidden/Shader Graphs/New Shader Graph_BaseMapGen” thrown when building project with Terrain Lit Shader Graph Material
Unity: Terrain
Won't Fix
6.4.X
6.3.X
This workflow should not be used; use of terrain shaders on non terrain game objects is not supported
Steps to reproduce:
1. Create new Unity project using empty Universal 3D Template
2. In Hierarchy create Cube GO in Hierarchy
3. In Project window create Terrain Lit Shader Graph
4. Convert Terrain Lit Shader Graph to Material
5. Assing converted Terrain Lit Shader Graph Material to a Cube GO
6. Go to Build Profiles window
7. Build the project
Actual results: “Shader warning in 'Hidden/Shader Graphs/New Shader Graph_BaseMapGen': implicit truncation of vector type at Graph.shadergraph(691) (on metal)” are thrown after building project
Expected results: No warnings are thrown after building project
Reproducible with versions: 6000.3.0b3, 6000.4.0a1
Can’t test with versions: 6000.2.6f1 and lower (Terrain Lit Shader Graph not available)
Tested on (OS): Windows 11, MacOS Silicon, Sequoia 15.6 (M1)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?