Search Unity

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

Bug Shader error in console killing performance only on Android Galaxy A14 device. No documentation?

Discussion in 'Android' started by sam_stitch, Dec 1, 2023.

  1. sam_stitch

    sam_stitch

    Joined:
    Jun 6, 2023
    Posts:
    6
    AndroidPlayer "samsung_SM-A145F" Shader Hidden/Universal Render Pipeline/StencilDeferred, subshader 0, pass 7, stage all: variant <no keywords> not found

    AndroidPlayer "samsung_SM-A145F" Shader Hidden/Universal Render Pipeline/StencilDeferred, subshader 0, pass 5, stage all: variant FOG_EXP2 not found.
    Performance is fine at the titlescreen, but as soon as the game world loads the console fills with this error every frame. Framerate drops to about 3ps because its waiting 200+ms per frame on -something.-

    The app is unplayable on my android device. I have logcats, profiler, frame buffer debug data but how do I use it to find what the problem is and fix it? What can I send you to help diagnose and repair the issue?
     

    Attached Files:

  2. sam_stitch

    sam_stitch

    Joined:
    Jun 6, 2023
    Posts:
    6
    Follow up on this:
    I changed the URP renderer pipeline asset to use Forward rendering instead of Deferred, which fixed that error, but did nothing to fix the performance problems. Performance is still wait on semaphor-ing for 200ms per frame.

    I don't know how to read or use any of the analytics to identify what is causing the massive slowdown in my game. How do I fix this?