fum1h1ro

I installed Spine-Runtime via UPM.

I have no problem with spine-csharp, spine-unity, but when I install URP Shaders via UPM, the shaders fail to compile.

The attached image shows a simple project with various Spine-Runtime installed via UPM.
The shaders in URP Shaders fail to resolve the include path, resulting in an error.

Specifically, this is because Spine-Common.cginc specifies a path that does not take UPM into account, but if I comment out the second line and enable the third line, the compilation completes successfully.
This is fine for me alone, but I am having trouble propagating this fix when working with multiple people.

Could you please confirm this?
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
fum1h1ro
  • Messaggi: 5

Harald

Thanks for reporting and sorry for the troubles. Now that the complete spine-unity core is cleanly supported via UPM, it indeed makes more sense to default to the UPM paths on the git repository, as the provided zip package has the dependencies included as file-copies anyway. We will let you know once the update is available.
Avatar utente
Harald

Harri
  • Messaggi: 4332

fum1h1ro

Thank you.
I really look forward to UPM support.
fum1h1ro
  • Messaggi: 5

Harald

The include paths have been updated on both 4.0 and 4.1-beta branches now (in this commit).
Please let us know if this resolves the issues on your end as well. Thanks again for reporting!

Issue ticket URL for later reference:
https://github.com/EsotericSoftware/spine-runtimes/issues/2050
Avatar utente
Harald

Harri
  • Messaggi: 4332

fum1h1ro

Tried it out, no errors!
Thanks for the quick response!
fum1h1ro
  • Messaggi: 5

Harald

Very glad to hear, thanks for getting back to us!
Avatar utente
Harald

Harri
  • Messaggi: 4332


Torna a Unity