Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
CarlosC98's avatar
CarlosC98
Honored Guest
3 years ago

GPU Lightmass and VR problem

Hello! This is my first VR proyect and I baked the light with GPU Lightmass. I used the Unreal VR template and added raytrace and virtual texture for the GPU Lightmass but all my meshes are black in my meta quest 2. 

 

Does anybody know what can this be? Does VR support GPU Lightmass? Thank you.

5 Replies

Replies have been turned off for this discussion
  • Are you building the light with the realtime preview on? Try disabling that and turn off virtual textures in your project. Chances are that your build settings does not allow for virtual textures.

    • CarlosC98's avatar
      CarlosC98
      Honored Guest

      Thank you for your answer, I dont check that out but creating a new Vr template project solved the issue

      • maverik79's avatar
        maverik79
        Honored Guest

        OK, maybe just deleting the saves/intermediate and deriveddatacache folders usually solves some compilation problems

  • I had the same problem. When I cooked the lights with GPU lightmass and ran the VR preview, no problem whatsoever but when I did the android package to view it on Quest 2 I saw all the black textures, as if it had not cooked the lights. I solved it by enabling "virtual textures for mobile", but I also changed the android studio version. My configuration for ue 4.27 is:
    android sdk 10 (29)
    sdk 29.0.2
    ndk 23.0

    With this config I solved the problem.

     

    • CarlosC98's avatar
      CarlosC98
      Honored Guest

      Thank you for your answer, I just created a new project cause I tried everything and creating a new project solved the problem, maybe that was the issue, thank you