Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkinTensionRenderer - errors when using #6

Open
pauldrummond opened this issue Mar 24, 2023 · 2 comments
Open

SkinTensionRenderer - errors when using #6

pauldrummond opened this issue Mar 24, 2023 · 2 comments

Comments

@pauldrummond
Copy link

I'm trying to use the SkinTensionRenderer script in my project but am getting two errors. The first is "Metal: Vertex or Fragment Shader xxx requires a ComputeBuffer at index x to be bound, but none provided." I guess this is related to an ongoing Mac OS Metal bug in Unity, so I switched over to Windows. Unfortunately now I'm getting null reference exceptions and Jobs errors.

I've attached the SkinTensionRenderer script to my SkinnedMesh and assigned the mesh to TensionBasePose in the Editor. Is there anything else I need to set up to get this working? Also, what are the Unity requirements for SkinTensionRender? I thought it was version 2021.2 +.

Any help you can give is much appreciated.

@Evizero
Copy link

Evizero commented Mar 25, 2023

i got it running on windows in my scene. can you tell me more details about your setup and the error message?

  • you are right that you need the SkinTensionRenderer on your SkinnedMesh game object
  • did you look at the new graphs here on how to use the tension shader?
  • You need a couple things in your shader graph to get it working (see above), including the SkinTensionSampleWeight custom function an the TensionWeight custom interpolator

I am on 2022.2.

@pauldrummond
Copy link
Author

pauldrummond commented Mar 25, 2023

I've set it up in the same way but am using Unity 2021.3. I asked Rob Cupisz about requirements a while back and was under the impression skin attachment and tension mapping worked in this version. Am I wrong? Does tension mapping require Unity 2022?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants