[Bug] Spotlight breaks at big scale

Hayaweh
Sat, 17 Oct 2015 01:48:44 +0000
Community & Industry Discussion

Seems like if you place a spotlight part a certain place in space with a certain attenuation radius. It crashes the engine.

Steps to reproduce:

Open a project sample

Place a spotlight

Set the Attenuation radius to 16777216 (2^24) and set its position on an axis to 16777215 (2^24-1), It should not crash yet.

Now set the position on an axis to 16777216 (2^24), the editor will instantly crash.

It seems like the crash does not reproduce when using 8388608 (2^23) as Attenuation radius but breaks Somewhere between 16500000 and 16600000 (still for attenuation radius with 2^24 for the position).

I think that this is a bug as the directional lights have no issues and we should at those values only suffer from the precision lost at its best.

Cheers,
Erio

6 posts - 1 participant