Search Issue Tracker
Active
Votes
0
Found in
6000.0.8f1
Issue ID
UUM-74997
Regression
No
Shader error in 'ProBuilder6/Standard Vertex Color': 'PBRDeferredFragment': cannot convert from 'struct v2f_surf' to 'struct SurfaceDescription' is shown when trying to Build and Run the Player
Reproduction steps:
1. Open the attached “BugRepro” project
2. Build and run the Player (File > Build and Run)
3. Observe the Console window
Expected result: No errors are shown
Actual result: “Shader error in ‘ProBuilder6/Standard Vertex Color’” is shown
Reproducible with: 6000.0.8f1
Could not test with: 2021.3.40f1, 2022.3.35f1 (Errors when downgrading version)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Building the Player (Build Settings > Build; not “Build and Run”) completes successfully, but the Player does not start up when opening it
Comments (2)
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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
MrConkin
Apr 09, 2025 16:35
I also ran into this upgrading from Unity 2022 to Unity 6. For me, the solution was to change the Shader Precision Model under Project Settings > Player > Windows/Mac/Linux > Shader Settings. It was set to Unified for me. I'm not sure if this is something new in Unity 6, but I changed it to Platform Default and now everything works perfectly.
Here is the documentation in case it helps: https://docs.unity3d.com/Manual/SL-Use16BitPrecisionInShaders.html
DREC0
Nov 25, 2024 11:17
I had a similar issue on version 6000.0.25f1. Mine was:
Shader error in 'ProBuilder6/Standard Vertex Color': 'SampleShadow_ComputeSamples_Tent_5x5': cannot convert output parameter from 'min16float[9]' to 'float[9]'
I'm not 100% sure which step exactly solved it but I'll tell you what I did.
- Upgraded Unity to the latest version (in my case, 6000.0.28f1)
- Deleted /Library and /Builds folder
- Disabled Render Graph Compatibility Mode (Project Settings -> Graphics -> URP -> Render Graph
- Reimported all shaders (Right click on Assets folder -> Reimport All)
- Reimported specific file in my log error
I hope any of these steps help! Good luck!