Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Graphics.RenderMeshPrimitives does not work on Mali GPU

Discussion in 'General Graphics' started by zhutianlun810, Nov 8, 2023.

  1. zhutianlun810

    zhutianlun810

    Joined:
    Sep 17, 2017
    Posts:
    165
    Hello,

    I am facing a weird issue. When I use Graphics.RenderMeshPrimitives to draw objects, I can see the keyword "PROCEDURAL_INSTANCING_ON" is enabled, and everything works fine on PC and Adreno platforms. However, on Mali GPU, I can't fine "PROCEDURAL_INSTANCING_ON" in framedebugger, and it can't render my objects.

    Does Mali support this API?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,879
    Until you get a reply I suggest to file a bug report if you cannot get it to work with the same code.
    As the docs give no specific limitations it should 'just work'

    Also try in the latest lts version if you arent there already, as it might be a fixed bug
     
  3. zhutianlun810

    zhutianlun810

    Joined:
    Sep 17, 2017
    Posts:
    165
    I have tried the api on a small project. It seems works without "PROCEDURAL_INSTANCING_ON". I am guessing that the problem is that Unity automatically disable the "PROCEDURAL_INSTANCING_ON" on Mali?