Hey there,
I just formatted my pc yesterday due to performance issues and space-issues on my main SSD,
I kept my second and third hard drive unformatted to keep all projects files intact and those HDD didn’t give a problem.
But that’s not my point,
I just opened my project and as i thought i needed to rebuilt my entire lightning(Still have the DerivedCacheData on the same stop tho- Can i just point there again)?
anyway even if that would fix it. I’m still stuck with an error.
I tried to rebuild my light from scratch and i got that my Instanced Foliage Actor is too large.
And then my lightmass crashed. So i added a LightMassImportance Volume to put importance only on the roads of my map. didn’t do the job either. My map is fairly big to redo the lightning on. Pictures below. The Foliage aswell is only near my roads for now as i don’t need foliage everywhere as long i’m not going to go in pre-alpha which is set for another 6 months. The Foliage is culled aswell to imporve performace.
However my error is →
Error === Lightmass crashed:
=== Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp]
[Line: 54] Ran out of memory
allocating 3547200768 bytes with
alignment 0KERNELBASE.dll!UnknownFunction
(0x000007fefbe9a49d) + 0 bytes
[UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction
(0x000007fecf1c44f4) + 0 bytes
[UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction
(0x000007fecf0a2754) + 0 bytes
[UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction
(0x000007fecefb7867) + 0 bytes
[UnknownFile:0]
UnrealLightmass-Core.dll!UnknownFunction
(0x000007fecefc05c2) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!Lightmass::FStaticLightingAggregateMesh::ReserveMemory()
(0x000000013f954734) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem()
(0x000000013f8ef589) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!Lightmass::BuildStaticLighting()
(0x000000013f90e951) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!Lightmass::LightmassMain()
(0x000000013f944f72) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!main()
(0x000000013f961950) + 0 bytes
[UnknownFile:0]
UnrealLightmass.exe!__tmainCRTStartup()
(0x000000013f9b6467) + 0 bytes
[UnknownFile:0]
kernel32.dll!UnknownFunction
(0x0000000076cd652d) + 0 bytes
[UnknownFile:0]
ntdll.dll!UnknownFunction
(0x0000000076f0c521) + 0 bytes
[UnknownFile:0]
ntdll.dll!UnknownFunction
(0x0000000076f0c521) + 0 bytes
[UnknownFile:0]Warning InstancedFoliageActor_0 The
total lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component Warning
InstancedFoliageActor_0 The total
lightmap size for this
InstancedStaticMeshComponent is large,
consider reducing the component’s
lightmap resolution or number of mesh
instances in this component
So now i’m stuck with 4K+ Items left to build in the lightning. Not only this i also have to add some more info.
When the map was about 1/20th of the size(Pointing on the little part of the left of the mountains, it took me over an hour to build the lightning after adding foliage and some basic meshes. I’ve watched some streams and all of them had fast lightbuilds. Mine always take long. The quality is set to preview to get the fastest out of it as i can.
Am i doing something wrong?
Ty for the reading and ty if you can help me!