I have converted my Unity project to URP, and I wonder if there's an easy way to convert all existing Spine shaders on our Spine materials to use the URP/Spine/Skeleton instead of Spine/Skeleton.
I have A LOT of Skeletons, so changing the shader for each one of them will take a while. I tried the Render Pipeline Converter, but it can't convert Spine skeletons.
Page 1 of 1
Ned
4 months ago
- Ned
- Posts: 5
Harald
Likely the fastest way would be to use a text editor like Visual Studio Code, open the main
As always be sure to backup your project first so that you can revert any mistakes that happen.
Assets
directory there (File - Open Folder..
) so that it's searchable. Then search and replace usage of the Skeleton shader guid string:, guid: 1e8a610c9e01c3648bac42585e5fc676,
and replace it with usage of the URP/Spine/Skeleton
shader guid:, guid: b2f45941d9f4fe9479ce1aebb9d63fbf,
Note that the ,
is used here to only replace usage of the guid, not where it's declared, which is the .meta
file next to the shader.As always be sure to backup your project first so that you can revert any mistakes that happen.
4 months ago
-
Harald - Posts: 4459
Mark topic unread
• Page 1 of 1
Return to Unity
- All times are UTC