• RuntimesUnity
  • "Spine Universal RP Shaders" show error


URP shaders show blue and I don't know how to Solve the problem.
I use Unity 2021.3.27f1 LTS, Spine-UnityRuntime 4.1(2023.02.17) and Spine URP shaders 4.1(2023.06.20)

  • Harald님이 이에 답장했습니다.
    Related Discussions
    ...

    suanLoBeach Sorry to hear you've having troubles. Your spine-unity runtime package is too old, the Spine URP shaders 4.1 UPM package from 2023.06.20 contains some changes which require an updated spine-unity runtime as well. Please update to the latest spine-unity package to resolve the errors.

    If this does not resolve your issues, please share the error messages with us so that we can see what's going wrong.

    The problem of everything looking blue might be a separate issue. The blue rim light of the "URP 2D Shaders" example scene requires the rim light settings properly setup, which can be done by assigning the provided Example 2D URP Asset next to the scene asset as render pipeline asset in your Project Settings under Graphics (or Quality, if you're overriding per quality tier). It uses the Example 2D URP Renderer Data which has the Light Blend Styles setup accordingly.

      when I change "spine/skeleton" to "URP/Spine/skeleton" , mesh will not be visible.

      Harald I get the Spine-unity runtime and spine-URP package in here.

      is it too old? Should I get it by Github links?

      Harald I am very sorry that I entered the wrong Runtime package date, I am using the package (2023.06.27). I'm sure both packages being used are up to date

      • Harald님이 이에 답장했습니다.

        suanLoBeach Harald I am very sorry that I entered the wrong Runtime package date, I am using the package (2023.06.27). I'm sure both packages being used are up to date

        Ok, thanks for the clarification. Then please share the error messages that you receive as mentioned above.

        when I change "spine/skeleton" to "URP/Spine/skeleton" , mesh will not be visible.

        This is a URP 3D shader, not compatible with URP 2D Renderer. What URP renderer are you using, which are the settings at the assigned RenderPipelineAsset (Project Settings - Graphics)? If your Project Settings are setup to use a 2D Renderer, URP 3D shaders will not display anything, it's a shader for the wrong pipeline. See the spine-unity documentation page here.

          Harald I create a 2D URP project

          Then I get some error messages:





          URP selected for all Quality Level

          • Harald님이 이에 답장했습니다.

            I get correct result when I choose this

            but choose "skeleton Lit" , it will be blue

            And no error messages here

            suanLoBeach Then I get some error messages:


            I can see only normal log messages, but not a single log warning or log error message.

            suanLoBeach URP selected for all Quality Level

            From the screenshots I can see that you selected the normal UniversalRP Render Pipeline Asset. Did you modify this Render Pipeline Asset? If you haven't modified it (by assigned a 2D Renderer) then it's using the normal URP forward 3D renderer, which should display the URP/Spine/skeleton shader normally. Are you sure you haven't accidentally assigned the Universal Render Pipeline/2D/Spine/skeleton shader?

            Which version of the Unity Universal RP UPM package (not the Spine URP shaders package, Unity's RP shaders) are you using?

              Harald Unity, spine runtime, and spine-URP were all downloaded yesterday, and no changes have been made. The unity URP is 12.1.12

              If you see anything displayed at a mesh with Universal Render Pipeline/2D/* shaders, it means that a 2D Renderer is used, not a 3D renderer. Please check your assigned Renderer at the Universal RP RenderPipelineAsset under Renderer List. You can select the asset in this list and see what settings are displayed there. If at the top in the Inspector it reads <assetname> (Renderer 2D Data) then it's a 2D Renderer that's being used.

              For the blue light problem, I have described above that the 2D renderer needs the rim lighting setup as in the Example 2D URP Asset. You can check out the Example 2D URP Renderer Data settings if you don't want to assign the Example 2D URP Asset as render pipeline asset.

                Harald Sorry I didn't notice that text, everything works fine now

                • Harald님이 이에 답장했습니다.

                  suanLoBeach Harald Sorry I didn't notice that text, everything works fine now

                  No worries, glad to hear you've figured it out. Thanks for letting us know!