• Unity
  • import spine skeleton object in the urp project.

  • Изменено
Related Discussions
...

hello

import spine skeleton object in the urp project.

The shader is set to urp/spine/skeleton lit.

When you do that, only the selected line of the spine object is visible and nothing is displayed on the screen.

Is there anything I need to set up again when using urp? :think:

Unity version is 2021.3.1f.
The spine version is 3.8.99.
I installed the spine runtime and urp package for that version.

Hi, it seems that the combination is not correct between the settings which you made in your project settings and the shader which you set to your skeleton's material.

Universal Render Pipeline/Spine/Skeleton Lit can not be used with URP 2D Renderer. You seem to have a Global Light 2D in your scene, but if you want your skeleton to be affected by 2D lights, you need to use Universal Render Pipeline/2D/Spine/Skeleton Lit or Universal Render Pipeline/2D/Spine/Sprite.

If you want to use Universal Render Pipeline/Spine/Skeleton Lit rather than those shaders, then you need to replace the URP Asset and URP Asset_Render which are set in Project Settings - Graphics - Scriptable Render Pipeline Settings and Project Settings - Quality - Rendering, respectively.

yes i solved it
Thank you for your valuable reply.