paulp Thank you for showing us the screenshots. I tried to reproduce the problem using them as a reference, but I was unable to do so. I will email you a video showing the result of the test, so please check it out. Also, could you please create a new Unity project and see if you can reproduce the problem, and then email us that minimal project?: contact@esotericsoftware.com
Visual artifacts with spine objects[unity, android]
- Editado
paulp Thank you for sending us the minimal Unity project! I have indeed confirmed that I can reproduce the problem on a Windows PC. (I was able to reproduce this issue on both iOS and Android for the platform.)
It appears that the cause is in your Universal Render Pipeline Asset
settings: in the Quality
section, the HDR
check is turned on, but if you uncheck this, the skeletons will be displayed correctly. For more details, please wait for a response from Harald.
@paulp Unfortunately for strange reasons, while Misaki could immediately reproduce the issue, I could not yet reproduce it on my machine using either Unity 2022.3.18, 2022.3.35 nor the exact submitted version 2022.3.30 with Android being set as the active build target. I will get back to you as soon as I can reproduce the issue as well (hopefully tomorrow).
@paulp Unfortunately I had no luck reproducing the issue today either, neither using the Universal RP package Misaki had installed nor the original one listed in the submitted project zip file. Could you perhaps have a try whether this reproduction project also reproduces the issue on your end when updating all involved UPM packages to the latest versions of the package manager? And after that, could you have a try whether the same issue still persists with Unity 2022.3.35 and the latest packages?
Thanks for checking, I assume you mean 2022.3.36 and not 2022.3.6. That's unfortunate then. It might be differences on how the graphics driver handles certain undefined cases perhaps. We will nonetheless perform some tests on our end to discover the cause of the issue, unfortunately it will likely take longer this way.
@paulp We have just pushed a bugfix commit to the 4.2 branch which should fix this issue.
EsotericSoftware/spine-runtimes2574
You could integrate the shader changes of the above commit to your 4.1 package installation. Note that the commit fixes a second files, which is an include file used by the other URP 2D shader Universal Render Pipeline/2D/Spine/Sprite
.
You can also find the modified file for your 4.1 URP package below:
Please let us know if this fixes the issue for you as well.
Issue ticket URL for later reference:
EsotericSoftware/spine-runtimes2574
@paulp Unfortunately so far we were out of luck reproducing the issue on our end again. Nevertheless, below you can find a slightly modified version of the shader before I'm leaving the office for today, to hopefully speed up the process a little bit:
Tomorrow I will hopefully find more time, apologies for the inconvenience!
That's unfortunate, thanks very much for the quick feedback.
@paulp Bad to hear, thanks for the feedback.
To be sure we're on the same page: Are you testing with the exact same reproduction project that you sent us last, and play this in the Unity Editor play mode with active target being Playstation 4 or Playstation 5?
I'm asking to be sure you're not perhaps testing a more complex scene where other shaders are used, like additive or multiply shaders instead of the URP/2D/Spine/Skeleton Lit
shader.