Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Objects transform is getting a reset on start with my shader. Only on Android.

Discussion in 'General Graphics' started by jnnte, May 21, 2022.

  1. jnnte


    Sep 21, 2018
    I have a shader that working fine on my PC, but as soon as I build the game on an android phone ( I havent tried any other mobile systems).
    The object that has the shader, its transform is getting reset to zero.
    Im using URP.
    Its like the SRP batcher is getting broken, because its the same behaviour if I would disable SRP batcher in the editor.
    The shader is working as indended otherwise, its just the transform that is bye bye.

    So what am I missing? What should I look at, Am I using the wrong render pipeline? Or is it something in my shader thats not ok on a mobile.