tobspr-games / shapez.io

shapez is an open source base building game on Steam inspired by factorio!
https://get.shapez.io/gh
GNU General Public License v3.0
6.37k stars 1.22k forks source link

wrong output #1131

Open egan566 opened 3 years ago

egan566 commented 3 years ago

after a looong session i started a new game. early begin circles-squares ... after a while thought my eyes were tired ... but no, see scrshot below.

shapez-bug

the output from cutting square resulted in half square and half circle ?!?

Have restarted the app and continued the game, still bugged. Again restarted, new game, problem gone. Loaded the problem-game, resolved ?! Unable to reproduce it. Must be something related to long session (8+ hours).

Still any suggestions where to bugfind are welcome.

Aurumaker72 commented 3 years ago

Seems system-specific as I dont know of other cases like this

egan566 commented 3 years ago

managed to reproduce it but not consistent. using a (windows10) laptop with 3 extra monitors attached (not all same resolution). seems related to moving the app to other screen with Win+Shift+left/right and then in the app zoom-in/out.

in the first sample i didnt let the "wrong" half-circle go to the hub. this time i did and the counter for half-circle went up, perhaps i was expecting just a display glitch but no.

Aurumaker72 commented 3 years ago

Can't offer a good explanation for this because the wrong outputs obviously not just visual... bit flip and it messed with cutter logic maybe? (You talked about a long session so thats a probability)

dengr1065 commented 3 years ago

There was a similar issue with stackers, but that was layer-related. There's clearly something wrong with cutter recipes or intialization. Please attach your savegame when it happens (and still does after game restart) - this should help other people debug and fix this issue.

egan566 commented 3 years ago

@dengr1065 .. export save game. Dont have those savegames anymore. Never tried save/export, note to self to save/export when happens again. (might take some time as i am out for a while -- hope i can solve the rocketship on my own before i am out :) )

@Aurumaker72 .. after reproducing (although not consistent) quite sure it is a bug as only the very first one was loong sess. Still the bug system-related or app-related unclear.

egan566 commented 3 years ago

aaargh ... got another incident wrong output from cutter. (now really out for 3 weeks from today)

i noticed "wrong" purple circle as half product from see scrshot highlighted when zooming out. 4x bottom output were wrong. image

zoom in to see if it makes difference. yes, back to good. zoom out (still detail) to reproduce, yes, wrong output.

repeat couple times .. decided to scrshot , first the correct one -- Win+Shift+s --> paste paint, save png.

go back shapez-app, zoom out to get second scrshot showing the "wrong". it no longer changes to "wrong" output. Fruitcake @#$! Inconsistent. No use making another scrshot.

Session wasnt too long (<1hr), switching between applications may seem to cause/fix it. Will do more testing.

Aurumaker72 commented 3 years ago

The 4 lower outputs dont look wrong to me (or am I tired) lol

egan566 commented 3 years ago

@Aurumaker72 .. u right me wrong(tired, not re-reading before posting.) ... should have put the scrshot lower in comment, i couldnt get the wrong scrshot anymore.

Point i wanted to make is -- within shapez-app it happens when zoom in/out to see correct/wrong. Switching between applications (this case shapez and paint) seem to fix it. And perhaps also to cause it.

Am considering closing this issue as i can fix it whenever happens. Part of me wants to get into the code (it is open source isnt it ?) .. but time is not with me.