Anuken / Mindustry

The automation tower defense RTS
https://mindustrygame.github.io
GNU General Public License v3.0
22.69k stars 2.98k forks source link

Strange lines visual glitch with anything involving lightning-like effects (chainEmp, lightningBulletType, etc.) #10253

Closed Haznobrain closed 3 weeks ago

Haznobrain commented 1 month ago

Platforms

Windows

Build

146

Issue

image it was very hard to catch because these lines last mere fractions of a second but i managed to do it. This kind of visual glitch happens anytime there's a lot of chaining of lightning effects like arc's electric arcs, chainlightning, energy fields, you name it.

Steps to reproduce

1: Open mindustry build 146 (i think it also happened in previous builds) 2: Get a unit with an electric field, a bunch of arcs, or a navannax and power blocks 3: Put a bunch of stuff in range of the unit electric field, in the middle of the arcs circle so they start shooting at it, or make the navannax shoot the power blocks repeatedly 4: Occasionally (this increases with the amount of lightning effects) a big line will pop up for what doesn't even seem like more than a tick.

Mods used

Haznobrain/Erekir-liquefied testing utilities

Save file

save.zip

(Crash) logs

No response

Submission

Haznobrain commented 1 month ago

caught a few more throught space bar torture Capture d'écran 2024-10-06 220107 Capture d'écran 2024-10-06 220252 Capture d'écran 2024-10-06 220448 Capture d'écran 2024-10-06 220543

Capture d'écran 2024-10-06 215002

Capture d'écran 2024-10-06 214642

mahdoosh1 commented 1 month ago

bro that is caused by mods

mahdoosh1 commented 1 month ago

I am not using Foo's Client, and have made sure the bug is not caused by mods I have installed.

are you sure?

Haznobrain commented 1 month ago

I am not using Foo's Client, and have made sure the bug is not caused by mods I have installed.

are you sure?

i am sure as i think i've seen it happen sometimes in just plain vanilla (it's been multiple months since i've last played vanilla) and even if it is caused by mods erekir liquefied is json and shouldn't be causing that, and i don't think testing utils changes anything as to how the game's graphic engine does lightning.

Haznobrain commented 1 month ago

sorry if misunderstood i mean none of the mods i have could be causing such a bug

mahdoosh1 commented 1 month ago

sorry if misunderstood i mean none of the mods i have could be causing such a bug

no, i should be sorry.

Haznobrain commented 1 month ago

sorry if misunderstood i mean none of the mods i have could be causing such a bug

no, i should be sorry.

ok