Page 1 of 1

[Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui)

Posted: Fri Oct 25, 2024 1:05 am
by wafflednoah
ISSUE
The game crashes when I try to repeatedly place my grid-snap blueprint while continuously escaping the parameter selection window.

STEPS TO REPRODUCE
Let's assume default control settings for mouse & keyboard.

1. In your hand, start with a parameterized blueprint that has grid-snap enabled. The one I'm currently using is:

Code: Select all

0eNp9UNtqwzAM/Rc926NZm5QE9iVjFCcRmcCWXdsZCyX/PjntMthgLzZHPjfrBr2dMUTiDN0NEpugs9dTpLHgT+iOChY5VwU0eE7QvQqNJja2ENg4hA5MSuh6SzxpZ4Z3YtQVFAmPKB7V+qYAOVMmvDtsYLnw7HqMQlD/OikIPonY86NU9VRvteSWlIgDhSIOJopLxqgP8D2+XGdjJUue2UcntUuZnXmvk5dNL5/ei4ToCyp7+OX7MNSyjnEv9SdFweBdEWYvH4QXWEsuZXSCfpauwJoebZkFAR/SaHOsm+f21Lb16XBumvNxXb8AyYaMow==
2. Press and hold down Left-click to place the blueprint. Do not release Left-click.
3. Escape the parameter selector window using E. Do not release Left-click.
3. Drag your mouse in any direction as though you're trying to create repeated copies of this grid-snap blueprint. Spam press E to repeatedly close the parameter selection windows that pops up.
4. The game should now crash.

LOG
factorio-current.log
(12.92 KiB) Downloaded 28 times

Re: [Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui

Posted: Sun Oct 27, 2024 6:29 pm
by kovarex
Hello, thanks for the report, it is now fixed for the next release.

Re: [Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui

Posted: Sun Oct 27, 2024 6:31 pm
by wafflednoah
Thank you :)

Re: [Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui

Posted: Wed Oct 30, 2024 12:35 am
by grossws
Got something very similar on 2.0.12 but not grid-aligned. Tried to reproduce but unsuccessful :(

Tried to place new instance more or less simultaneously with configuring previous with filter confirmation using hotkey


Re: [Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui

Posted: Wed Oct 30, 2024 7:30 pm
by Stedd
I might have something similar as-well.
[2.0.13]

What did you do?
I was placing a parameterized blueprint, and i might have entered a state where i placed the blueprint another time before inputting the parameters of the first placement.

What happened?
The game crashed

What did you expect to happen instead? It might be obvious to you, but do it anyway!
The parameters to be accepted, and the blueprint placed and the game to continue smoothly

Does it happen always, once, or sometimes?
I am now able to reliably reproduce this crash, see steps below

Reproduce steps
  1. Select the blueprint below
  2. Press and hold CTRL+SHIFT
  3. Without releasing CTRL+SHIFT, Place the blueprint somewhere
  4. Without releasing CTRL+SHIFT, Place the blueprint again somewhere else (Observe the green ghosts can be moved around by clicking around and the parameter selection window remains open)
  5. Click the confirm button on the parameter window (observe the blueprint is now placed, but the parameter window remains open)
  6. Click confirm button again, this causes the game to crash for me
factorio-current 1stTime.log
(20.74 KiB) Downloaded 19 times
factorio-current 2ndTime.log
(12.64 KiB) Downloaded 22 times
factorio-current 3rdTime.log
(13.14 KiB) Downloaded 20 times
factorio-current 4thTime.log
(12.45 KiB) Downloaded 21 times
factorio-current 5thTime.log
(9.97 KiB) Downloaded 19 times
Blueprint


Save file
https://drive.proton.me/urls/R7EN0CZFPM#0n16dibYkNI4

Re: [Kovarex] [2.0.10] Crash when trying to repeat place grid-snap parameterized blueprint (GameView::confirmFloatingGui

Posted: Thu Oct 31, 2024 5:14 pm
by Stedd
I managed to trigger a game crash again without using CTRL+SHIFT. I think I was clicking outside the item select window while setting parameters. Noticed the green ghost moved, and got into the same state where the blueprint was placed on the first parameter input window confirmation, but the parameter window remained open. When clicking the confirm button again, the game crashed.

I will edit this post if i manage to find the exact reproduce steps later.

Here is the log, same save, same plueprint as previous post
factorio-current OnlyClick.log
(13.29 KiB) Downloaded 21 times