Using a CSS file into BabylonJS for meshes for example

I think the issue is that you are using AdvancedDynamicTexture.CreateFullscreenUI instead of AdvancedDynamicTexture.CreateForMesh. CreateFullscreenUI is not supported for webVR so I think that is causing the issue. Would that work for you?