[1.1.100] Crash to desktop: LuaStack::transfer_stack with item-on-ground

This subforum contains all the issues which we already resolved.
User avatar
Cooldude2606
Fast Inserter
Fast Inserter
Posts: 105
Joined: Sat Sep 16, 2017 9:04 pm
Contact:

[1.1.100] Crash to desktop: LuaStack::transfer_stack with item-on-ground

Post by Cooldude2606 »

What:
Game will crash to desktop when LuaStack::transfer_stack is called with a stack belonging to an "item-on-ground" entity.
The expected behaviour is the item on the ground to be removed and placed into the new stack.
The new stack does not need to be in the player's inventory for the crash to occur, it also effects chests.

How:
1) Start any game, I used a new freeplay game with no mods enabled.
2) Place an item onto the ground, I used the keyboard keybind to drop a stone furnace.
3) Select the item on the ground with your cusor.
4) Run the command below:

Code: Select all

/c game.player.get_main_inventory().find_empty_stack().transfer_stack(game.player.selected.stack)
Device Details
Crash Log
--- Developer for Explosive Gaming and Clusterio. Please contact me via our Discord. ---
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3322
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.100] Crash to desktop: LuaStack::transfer_stack with item-on-ground

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.101
Post Reply

Return to “Resolved Problems and Bugs”