Search Unity

Question AccessTexture return false in native plugin using Vulkan on Android device

Discussion in 'General Graphics' started by kyo8568131, Jan 17, 2023.

  1. kyo8568131

    kyo8568131

    Joined:
    Dec 16, 2014
    Posts:
    2
    Hi, we are developing native rendering plugin with Vulkan by referencing NativeRenderingPlugin.
    It works fine in editor and Windows build.
    But it fails to get the texture on Android device.
    We found that the API AccessTexture return false.
    However, we found that it works if we either turn on Development Build or enable Graphics Jobs or disable Multithreaded Rendering.
    So what is the root cause that we couldn't get texture?
    What is the criterion to use AccessTexture correctly?
    Any information will be greatly appreciated. Thanks.