If you dont do this 5.1.1 will crash possibly with an obscure error
Fatal error: A required key was missing from BaseLightmass.ini. This can happen if BaseLightmass.ini is overwritten with an old version.
GConfig->GetInt(TEXT("DevOptions.GPULightmass"), TEXT("NumPrimaryGISamples"), Scene.GPULightmassSettings.NumPrimaryGISamples, GLightmassIni) failed
at C:\Engine\Source\Editor\UnrealEd\Private\Lightmass\Lightmass.cpp:2481
I have problem when using the 5.1 GPU code on 5.1.1 BINARY as well. I CANNOT make this addition to the original 5.1 code file, because I dont own/support the code
@Jimbohalo10
The community would be very grateful if you could help us with the new version of the plugin. Many newcomers have encountered a problem with GPU Lightmass 5.1 running on UE 5.1.1
I’m having the same issue here. I can only work with materials using the default lightmass otherwise the crash is inevitable.
I’m dealing with this issue this way for some days… But now even after reinstall the gpu lightmass after dealing with materials. I have a crash saying something about an error on Arrays.h
This crash persists even after I do a clean and validate in swarm agent.
Edit: Somehow this crash was solved, idk why nor how… But now, indirect light isn’t calculated by the gpu lightmass… only direct light.
If you dont do this 5.1.1 will crash possibly with an obscure error
Fatal error: A required key was missing from BaseLightmass.ini. This can happen if BaseLightmass.ini is overwritten with an old version.
GConfig->GetInt(TEXT("DevOptions.GPULightmass"), TEXT("NumPrimaryGISamples"), Scene.GPULightmassSettings.NumPrimaryGISamples, GLightmassIni) failed
at C:\Engine\Source\Editor\UnrealEd\Private\Lightmass\Lightmass.cpp:2481
I had problem when using the 5.1.0 GPU code on 5.1.1 UE BINARY as well
I have put the updated version for 5.1.1 of BaseLightmass.ini in the repository
This lines are already there in Binary of UE 5.1.0. So what to do in this case.
I dont use 5.1.0 BINARY as it wont work but just upgraded to 5.1.1 via Epic Games launcher which needs the patch to BaseLightmass.ini as its removed during upgrade from 5.1.0 to 5.1.1
@Jimbohalo10 - I did the same as mentioned by you in binary of UE 5.1.1 after updating but it doesn’t work. Still its using CPU lightmass not the GPU lightmass after I added those lines in baselightmass.ini.