Home > OS >  Meta Avatars have white textures in Unity Build
Meta Avatars have white textures in Unity Build

Time:10-26

I really searched a long time for a solution of this problem, but I couldn't find it. Maybe one of you know, how I can fix this problem.

I created a Unity VR project for the Oculus Quest 2 and downloaded the Meta Avatar Plugin. I followed this tutorial on YouTube. Everything is working fine during the Game Mode in Unity. But when I am building it, the Avatars has completely white textures, like in this screenshot.

I am using Unity Version 2021.3.5f1.

I think it has something to to with the building process/ Shader setup from Computer to Android, but I am not sure where or what I can change to make it run.

Does anyone has an idea?

CodePudding user response:

After one day it worked suddenly. I think it was the answer from Philipp, with the Graphics settings:

Try this: Click on your relevant surface in Play mode and check what Shader the Material is using. Then stop, and go to to Edit -> Project Settings -> Graphics. Scroll down to the Always Included Shaders list and add the Shader you noted before to that list. Now compile again and see if the issue persists. (If it does, you may want to look into e.g. the Player -> Color Space setting, which can be Gamma or Linear.) – Philipp Lenssen

CodePudding user response:

This has not happened for me, but this is the closest answer I could find: https://answers.unity.com/questions/1269596/textures-whitegrey-after-build-and-run.html

  • Related