Skip to main content
New Participant
November 19, 2022

Typo in AvatarCommonLighting.cginc

Hello,

We've working at Telefónica with Meta avatars for some months now and everything was going ok. Then we've decided to update our Unity version to the 2021.1.11f (LTS). Suddenly our avatar stopped showing in the application builds. The thing is we're using a Linux machine for our CI builds, when we built the application in Windows and Mac there was no problem. After a while, I've discovered the reason is a typo in: Assets/Oculus/Avatar2/Example/Common/Shaders/Horizon/AvatarCommon/AvatarCommonLighting.cginc. Instead of #include "AvatarCommonSurfaceFields.cginc" the SDK code is "AvatarCommonSurfaceFIelds.cginc", it seems Linux doesn't find the file this way. Just writing to let you know in case you want to change it in next releases.

Regards,

Gonzalo

This topic has been closed for replies.