PointLight2D crashing the game on old device

Godot 4.6.2

I have a scene where the user can drag a sprite and when this sprites enters a collision shape, a light is switched on.

Testing the android build an a rather old Oneplus3T i discovered that switching on the light instantly crashes the game.

The same device can run the WEB build in a browser.

For now i made a workaround by replacing the light with a translucent texture (blend mode Add) but the result, while acceptable, looks worse.

How can i understand what is causing the crash? Where to start? Looks like no crash report is generated at all.

What rendering method are you using?

Try compabitility, especially on older devices.

1 Like

Looks like i have:

Rendering method: mobile

Rendering method.web: gl_compatibility

Rendering method.mobile: mobile

I’ll give it a try, thanks

gl_compatibility fixed it, thanks

1 Like