cancel
Showing results for 
Search instead for 
Did you mean: 

Not Mixed case ./Assets/Oculus/Avatar2/Example/Common/Shaders/Horizon/Horizon/Tonemapping.cginc

RiverExplorer
Protege

I have built this project maybe 100 times. No clue what changed or why.

I tried to post this in SDK feedback. But it says I don't have permission to post to that group.

In ./Assets/Oculus/Avatar2/Example/Common/Shaders/Horizon/Horizon/VertexGI/Interface.cginc, it has:

'#include "../FBToneMapping.cginc".

After I renamed FBTonemapping.cginc to FBToneMapping.cginc, I could do the cross build.

I have MetaAvatarSDK 20.3 and Oculus Integration 54.1 installed. Unity 2022.3f1

When I re-download, remove the entire Oculus directory in Assets, and then re-install them, it again keeps the 'M' lower case. So the problem seems to be with the package.

This is strange because; (1) I thought windows had a case-insensitive file system. and (2) How did it ever work? So (3) Something changed in Unity. I am *guessing* that their shader compiler now opens up a directory and searches for matching file names, and no longer just does an open(), causing case sensitive search, so the file name needs to get renamed, or the shader compiler needs to do a case-insensitive search for matching include file names.

 

0 REPLIES 0