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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Animating mesh's scale make the texture bug.

Discussion in 'Android' started by Spidyy, Jun 29, 2015.

  1. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    Hey there. Tried to post it on the Answers, to no avail, so I'm trying here.

    I'm making a game where I use mesh animations from time to time. Only one or two use transform's scale animation, but those two cause a texture bug on some devices, like the UVs of the mesh were messed up, and only during the scale animation.

    Here is a preview of what happens :
    texturebug.png

    The left cube is with the right texture, the left one got a mix of pure black and white stuff instead.

    I tried changing the shader to Mobile/Unlit, Mobile/Diffuse, Unlit/Texture, Diffuse.
    I tried enabling/disabling the multithreaded rendering.
    I tried playing with the texture compression.

    The device that have the bug :
    - Lenovo IdeaTab (GPU : PowerVR SGX544MP2)
    - Huawei P6-U06 (GPU : Vivante GC4000)
    - Samsung Galaxy Pocked 2 (No GPU)

    Device that does not have the bug :
    - Samsung Galaxy Note 2 N7100 (GPU : Mali-400MP4)

    In the Player settings, I use the Graphics Level to Automatic.

    The fun stuff : the scaling is not even applied on iOS, like there weren't any animation to start with.

    I can do without this but I'd really like to have those animation working properly. Anyone have a way around, a hack or even better, a fix?
     
  2. Spidyy

    Spidyy

    Joined:
    Mar 6, 2011
    Posts:
    184
    Bump, still no idea how to fix this. :( Anyone?