[2.0.72] Crash and weirdness with game.simulation.write (BlueprintLibraryGui::rebuildGui)
Posted: Mon Nov 03, 2025 10:06 pm
I was messing about with creating tips-and-tricks simulations for my mod and was trying out the game.simulation.write method which lead to a crash to desktop.
Trying to get a minimal reproduction for it to report here I stumbled on some other weird behavior. With just story board:
The character/simulation opens the Train Overview and starts walking to the left:
"o" is the hotkey for the train overview, so I guess that has something to do with it, but other than that, idk.
I'll attach this smaller mod as well as the mod I was originally working on with the crash log so you could hopefully also reproduce the crash to desktop but if you need more info, let me know.
Trying to get a minimal reproduction for it to report here I stumbled on some other weird behavior. With just story board:
Code: Select all
game.simulation.active_quickbars = 1
player = game.simulation.create_test_player{name = "big K"}
player.character.teleport{0, 4}
game.simulation.camera_player = player
game.simulation.camera_position = {0, 0.5}
game.simulation.camera_player_cursor_position = player.position
local story_table =
{
{
{
name = "start",
init = function() end,
condition = story_elapsed_check(1)
},
{
condition = story_elapsed_check(0.25),
action = function()
game.simulation.write{text="foo"}
end
}
}
}
tip_story_init(story_table)"o" is the hotkey for the train overview, so I guess that has something to do with it, but other than that, idk.
I'll attach this smaller mod as well as the mod I was originally working on with the crash log so you could hopefully also reproduce the crash to desktop but if you need more info, let me know.