Download

Lightmass crash. Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize

Hi,
when I relight my level it crashes, it doesnt crash on smaller levels, but it does on this one. Is it possible to identify if its crashing on a specific object? The log mentions about FaceCoordinate and MipSize, so can be an item with wrong UV or similar? I need a way to identify which item is giving the problem. The level is quite big and complex.

I checked the source code and it seems the crash is inside FSkyLight::SampleRadianceCubemap(…) . I switched the Skylight to Moveable and it doesnt crash, while it crashes when set as Stationary. I would like to keep it as Stationary.

I added some debug, and I see these values just before the crash:
FaceCoordinate.X: -2147483648 FaceCoordinate.Y: -2147483648 MipSize: 2

1:27:30 AM: Skylight import processing 0.005s with CubemapSize 64
1:27:47 AM: Measured CPU frequency: 3.40 GHz
1:27:47 AM: FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
1:27:47 AM: Number of texture mappings: 28670
1:27:47 AM: Number of fluid mappings: 0
1:27:47 AM: Number of landscape mappings: 25
1:27:47 AM: Number of BSP mappings: 0
1:27:47 AM: Number of static mesh instance mappings: 28670
1:27:56 AM: Clamped the number of direct photons to emit to 40.000 million, from 109.207 million requested.
1:27:56 AM: Scene surface area calculated at 50745.727 million units (1.546% of the estimated 3282707.000 million units)
1:27:56 AM: Importance volume surface area calculated at 3.141 million units (37.872% of the estimated 8.294 million units)
1:27:57 AM: Embree Build 0.7s
1:27:57 AM:
1:27:57 AM:
1:27:57 AM: Collision Mesh Overview:
1:27:57 AM: Num Triangles : 5624044
1:27:57 AM: MeshInfos : 0.4Mb
1:27:57 AM: UVs : 55.4Mb
1:27:57 AM: LightmapUVs : 55.4Mb
1:27:57 AM: Embree Used Memory : 400.7Mb
1:27:57 AM:
1:27:57 AM:
1:27:57 AM: Processing…
1:28:20 AM: EmitDirectPhotons complete, 40.000 million photons emitted in 22.4 seconds
1:28:20 AM: Built photon segment map in 0.0 seconds
1:28:20 AM: EmitIndirectPhotons complete, 0.004 million photons emitted in 0.0 seconds
1:28:20 AM: Marking Irradiance Photons complete, 0.000 million photons marked in 0.0 seconds
1:29:41 AM: Caching Irradiance Photons complete, 8.150 million cache samples in 81.3 seconds
1:29:41 AM: Calculate Irradiance Photons complete, 0.000 million irradiance calculations in 0.0 seconds
1:30:10 AM: LogWindows: Error: Error reentered: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]
1:30:10 AM:
1:30:10 AM:
1:30:13 AM: LogWindows: Error: Error reentered: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]
1:30:13 AM:
1:30:13 AM:
1:30:13 AM: LogWindows: Error: Error reentered: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]
1:30:13 AM:
1:30:13 AM:
1:30:13 AM: Error reentered: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]
1:30:13 AM:
1:30:13 AM:
1:30:13 AM: Error reentered: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]
1:30:13 AM:
1:30:13 AM:
1:30:13 AM: Exception handled in main, crash report generated, re-throwing exception
1:30:13 AM: Exception handled in main, calling appHandleCriticalError
1:30:13 AM: LogLightmass: Error: === Critical error: ===
1:30:13 AM:
1:30:13 AM: Fatal error: [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/Lighting/LightingSystem.cpp] [Line: 1458]
1:30:13 AM: Static lighting thread exception:
1:30:13 AM:
1:30:13 AM: Assertion failed: FaceCoordinate.X >= 0 && FaceCoordinate.X < MipSize [File:C:/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/ImportExport/LightmassScene.cpp] [Line: 1966]