Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Prefab with baked texture displays weird artifacts

Discussion in 'Prefabs' started by marcosdana, May 2, 2021.

  1. marcosdana

    marcosdana

    Joined:
    Mar 18, 2019
    Posts:
    4
    Hi!
    I’ve been dealing with a problem during the last few days. I’m making an AR Foundation image tracking app running on Android. I’m baking lights into prefabs using a script that I found on the web. Till here everything works fine. The problem appears when I run the app on my android mobile, textures make a weird effect. If I load game objects that define the prefab directly on the hierarchy tab without actually making a prefab and try to run this on my phone textures load well (and in the play mode of unity look well too), but if I make a prefab, bake textures using script into prefabs and then try to load that prefab using the Ar Tracked Image Manager, the weird effect appears. Is kind of hard to illustrate this with words so I’m uploading 2 dif. images. One is the play mode result before building for Android and the other is what I get on my phone.

    Does anyone have any clue what might be going on here?
     

    Attached Files: