• RuntimesUnityBugs
  • Visual artifacts with spine objects[unity, android]

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

Related Discussions
...

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?

  • Responderam a isso paulp.

    Harald Unity 2022.3.6, latest URP, the bug is reproduced

      paulp Harald Unity 2022.3.6, latest URP, the bug is reproduced

      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.

      • Responderam a isso paulp.

        Harald

        Thanks, yes 2022.3.36

        This problem occurs not only in the editor, but also for some users in the game on win(ntegrated graphics.)

        @paulp Thanks for the info! This seems to be confirming that the issue is due to special handling of undefined behaviour. We will continue our investigations.

        4 dias depois

        @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:

        spine-skeletonlit-urp-2d.txt
        7kB

        Please let us know if this fixes the issue for you as well.

        Issue ticket URL for later reference:
        EsotericSoftware/spine-runtimes2574

        • Responderam a isso paulp.

          Harald Thank you! This is a bug fix in Android mode in the editor.

          But users with Intel UHD graphics still have this error

          @paulp Oh dear, very sorry to hear that the issue still persists on Intel UHD hardware!

          Could you please have a try with this modified shader version and let us know whether it resolves the issue:

          spine-skeletonlit-urp-2d.txt
          7kB
          • Responderam a isso paulp.

            Harald Thanks! Wauting answer from user with Intel graphics.

            Today we started porting to Playstation and got the same error in Unity Player.

            The latest fixes don't help

            @paulp That's unfortunate indeed, thanks for the feedback. We will continue our investigations.

            @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:

            spine-skeletonlit-urp-2d.txt
            7kB

            Tomorrow I will hopefully find more time, apologies for the inconvenience!

              Harald unfortunately, the bug remained

              That's unfortunate, thanks very much for the quick feedback.

              @paulp Could you please try this second modified version of the shader and let us know the results:

              spine-skeletonlit-urp-2d.txt
              7kB

                @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.

                  @paulp One more update, could you please test this version:

                  spine-skeletonlit-urp-2d.txt
                  7kB