# Lightmass crashing if an object is in the wrong spot on a level?

**URL:** <https://forums.unrealengine.com/t/lightmass-crashing-if-an-object-is-in-the-wrong-spot-on-a-level/648061>\
**Category:** Rendering\
**Tags:** lightmass-crash, unreal-engine, UE5-0, question\
**Created:** [September 13, 2022, 8:09pm UTC](https://forums.unrealengine.com/t/lightmass-crashing-if-an-object-is-in-the-wrong-spot-on-a-level/648061 "2022-09-13T20:09:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArdentStoic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArdentStoic](https://forums.unrealengine.com/u/ArdentStoic)\
**Post date:** [September 13, 2022, 8:09pm UTC](https://forums.unrealengine.com/t/lightmass-crashing-if-an-object-is-in-the-wrong-spot-on-a-level/648061/1 "2022-09-13T20:09:28Z")

</div>

I’ve got an asset that breaks the lighting build, but only if it’s on one side of a level? First screenshot it builds successfully, and then I move that object to the second position and the entirely lighting build crashes.

 ![Working build](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/4/7143bc44351c98b6175548264c647db2ceb76b6f.jpeg)  
 ![Broken build](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/5/6e511ee5e0f7407a29879125e650d14884bce955.jpeg)

Full error text

```auto
=== Lightmass crashed: ===Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Programs\UnrealLightmass\Private\Lighting\LightingSystem.cpp] [Line: 1458] 
Static lighting thread exception:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

0x00007ffa5e9e85a2 embree.dll!UnknownFunction []
0x00007ffa5e5195f0 embree.dll!UnknownFunction []
0x00007ff6aba87fff UnrealLightmass.exe!Lightmass::FEmbreeAggregateMesh::IntersectLightRay() []
0x00007ff6aba6b5ea UnrealLightmass.exe!Lightmass::FStaticLightingSystem::CachePointIncomingRadiance() []
0x00007ff6abb0d614 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ProcessCacheIndirectLightingTask() []
0x00007ff6abb01f2d UnrealLightmass.exe!Lightmass::FStaticLightingSystem::CalculateIndirectLightingTextureMapping() []
0x00007ff6abb10038 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ProcessTextureMapping() []
0x00007ff6abaf58c4 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::ThreadLoop() []
0x00007ff6abaf0dc6 UnrealLightmass.exe!Lightmass::FMappingProcessingThreadRunnable::Run() []
0x00007ffa57eb9247 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ffa57eb2720 UnrealLightmass-Core.dll!UnknownFunction []
0x00007ffb50747034 KERNEL32.DLL!UnknownFunction []
0x00007ffb52202651 ntdll.dll!UnknownFunction []

0x00007ff6abb20bb0 UnrealLightmass.exe!DispatchCheckVerify<void,<lambda_5eec4f0fb0b836f5e3b32f7363c22d84>,FLogCategoryLogLightmass,wchar_t [38],wchar_t const *>() []
0x00007ff6abae5956 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::MultithreadProcess() []
0x00007ff6abab51e3 UnrealLightmass.exe!Lightmass::FStaticLightingSystem::FStaticLightingSystem() []
0x00007ff6aba698b1 UnrealLightmass.exe!Lightmass::BuildStaticLighting() []
0x00007ff6aba8cda1 UnrealLightmass.exe!Lightmass::LightmassMain() []
0x00007ff6abaacf97 UnrealLightmass.exe!main() []
0x00007ff6abb15ebc UnrealLightmass.exe!__scrt_common_main_seh() []
0x00007ffb50747034 KERNEL32.DLL!UnknownFunction []
0x00007ffb52202651 ntdll.dll!UnknownFunction []

```

What can I do about this?
