x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Build Lighting Error

Hey,

I am trying to build the Lighting but the Lightmass crashes. Any ideas?

Thank you, Nick

Crash Output:

 Error <None> === Lightmass crashed: ===
 Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Programs\UnrealLightmass\Private\Lighting\LightingSystem.cpp] [Line: 1324] 
 Static lighting thread exception:
 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 16384 bytes with alignment 0
 
 
 KERNELBASE.dll!UnknownFunction (0x00007ffa431c8b9c) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fcfd44f4) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fceb2754) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fcdc7867) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fcdc3ebd) + 0 bytes [UnknownFile:0]
 UnrealLightmass.exe!UnknownFunction (0x00007ff79015793a) + 0 bytes [UnknownFile:0]
 UnrealLightmass.exe!UnknownFunction (0x00007ff79017085d) + 0 bytes [UnknownFile:0]
 UnrealLightmass.exe!UnknownFunction (0x00007ff7902269a5) + 0 bytes [UnknownFile:0]
 UnrealLightmass.exe!UnknownFunction (0x00007ff7901de9d7) + 0 bytes [UnknownFile:0]
 UnrealLightmass.exe!UnknownFunction (0x00007ff7901d5639) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fcfd3b16) + 0 bytes [UnknownFile:0]
 UnrealLightmass-Core.dll!UnknownFunction (0x00007ff9fcfc800d) + 0 bytes [UnknownFile:0]
 KERNEL32.DLL!UnknownFunction (0x00007ffa450213d2) + 0 bytes [UnknownFile:0]
 ntdll.dll!UnknownFunction (0x00007ffa45dd5444) + 0 bytes [UnknownFile:0]
 ntdll.dll!UnknownFunction (0x00007ffa45dd5444) + 0 bytes [UnknownFile:0]




Product Version: UE 4.7
Tags:
more ▼

asked May 22 '15 at 10:36 AM in Rendering

avatar image

NickTehPro
6 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Nick,

As line 5 states, it looks like you ran out of memory while building lighting.

 Ran out of memory allocating 16384 bytes with alignment 0

When you build lighting is it in a custom scene you've setup or one of the template project scenes (FPS or Third Person starting map)?

Here are some things you'll need to try:

  • Try lowering your lightmap resolutions of your meshes.

  • Make sure that you're using a lightmass importance volume in your scene

  • Use fewer meshes that are casting static shadows.

Lightmass and static lighting building is a very intensive process that requires a lot of CPU power and RAM to complete.

Thanks!

Tim

more ▼

answered May 22 '15 at 01:12 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image NickTehPro May 22 '15 at 02:01 PM

Really thank you :)

avatar image NickTehPro May 22 '15 at 04:01 PM

hey again even with all my programs closed and only unreal on i get the same error :(

avatar image sailorjerry May 22 '15 at 09:55 PM

Same problem here, searched for bad settings and errors for a week now, even reinstalled unreal engine. only lightsource I have is a movable sun and a skylight, but i disabled all shadowing from the skylight I also have a small lightmapimportance

Tried make all levels but one invisible to just build lightning on one at the time, but not even that worked. I lowered all my meshes lightmap resolution to 16, and grass to only 4 with shadows disabled

avatar image Tim Hobson ♦♦ STAFF May 27 '15 at 01:59 PM

@NickTehPro If you create a default scene (the one with the floor, sky sphere, and sun already setup) and build lighting does everything work there?

Can you also post your DxDiag (star menu > Run > dxdiag.exe) and save the file as text and upload here. This will let me see your system specs.

@sailorjerry If you're light source is set to movable this won't use Lightmass since lights do not need to be built. You would need to set your light source to Stationary or Static to see any lightmass results.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question