GPU instancing does not work on specific platform

Avatar
  • updated
  • Answered

I'm tring to draw a bunch of lines.

I'm using URP.

This works for me when building to Android.
When building to Windows it does not work unless I disable GPU instancing from Shapes Setting.
Any idea how this can be fixed?

Reporting a bug? please specify Unity version:
2021.3.10f1
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Freya Holmér creator
  • Answered

this is still an ongoing problem, that some people have been able to fix by doing a clean reinstall. main thread here:
https://shapes.userecho.com/communities/1/topics/385-shapes-not-rendering-in-builds-investigation-megathread

Avatar
yinon oshrat

I did reimport the plugin as you suggested and it solved the problem for me.
Will it help you to get my git diff between the version before the reimport and after it?

Avatar
Freya Holmér creator

sure! might be helpful

Avatar
yinon oshrat

here is a Patch file with the changes of the reimport

sorry but it also include few Font assets file that had changes because of the reimport - just ignore those