Game Development Community

Room causing crash during in-game relight

by Peter Simard · in Constructor · 04/27/2007 (7:13 am) · 1 replies

I am currently experiencing a crash when attempting to relight my missing with the dungeon I have been working on. The problem is directly related to this room:

img264.imageshack.us/img264/3938/roomcrashkx3.jpg
If I delete that room and re-export, I do not get a crash. Also, it will still crash if I delete all the lights in that room.

I am using a Torque 1.5 (exporting as legacy dif)

It crashes during sgMergeLighting (Unhandled exception at 0x00a4a865 in CoP.exe: 0xC0000005: Access violation reading location 0x2a19d1d2.)

img249.imageshack.us/img249/2872/callstackbc3.jpg

#1
04/27/2007 (7:20 am)
UPDATE

I had inadvertently changed the light map size to 2048. Reducing it to a reasonable number fixed the crash.