Forum

> > CS2D > Maps/Editor > Game crashes when placing Env_Light
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English Game crashes when placing Env_Light

3 replies
To the start Previous 1 Next To the start

moved Game crashes when placing Env_Light

Rapidgame7
User Off Offline

Quote
When I was randomly editing a map, I found a pretty annoying bug. I am not sure how do I trigger it in first place, but happens when placing lights.

While I shouldn't make giant lights since it is limited to a radius of 300 anyways, it seems to happen (randomly?) when trying to make a light with a radius larger than 300.
Even copying and pasting a light seems to trigger a crash too.

In the meantime I tried using lights with a radius of 200, which came out perfectly and no crashes were involved.

Still, I am not sure what I did but it crashes when doing specific things.

I made a video showing the crash.

old Re: Game crashes when placing Env_Light

GeoB99
Moderator Off Offline

Quote
This thread is mostly regarded about mapping problems thus I moved it.

As for your problem, the game crashes simply because you added two light entities with larger than 300 of radius (the first one was 388 or something whereas the third one was about 400 and such) based on your video. I inspected this issue as a curiosity and as far it seems, you can only place one light entity of a larger radius and you can't place light entities of larger radius anymore.

old Re: Game crashes when placing Env_Light

Rapidgame7
User Off Offline

Quote
While I was doing something else with the lights, I noticed it also happens with lights with a radius of 300. Copying one and pasting it elsewhere triggers another crash.

I guess I should only place lights with a radius of 299 or less.
Doesn't seem to be a big problem since the light radius seems to cap somewhere under or around 250.

old Same

Ishara
User Off Offline

Quote
I can confirm this too, I was editing a map to test the light features, I'm not really sure whats the trigger, but happens everytime when placing lights (3-5 entity lights), it also happens with lights with a radius of 300.
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview