Skip to main content
New Participant
October 26, 2022

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.

    This topic has been closed for replies.

    5 replies

    New Participant
    October 28, 2022

    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.

    CarlosC98Author
    New Participant
    November 15, 2022

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

    New Participant
    November 15, 2022

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

    New Participant
    November 15, 2022

    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.

     

    CarlosC98Author
    New Participant
    November 15, 2022

    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