Page 1 of 1

[wheybags]Consistent crash in intro scenario

Posted: Sat Aug 03, 2019 1:31 pm
by Snalin
I've got consistent scenario crash in the intro scenario.

To repro, load up the attached save, and run down to the right. Deconstruct the rightmost lab by the wayer. The scenario crashes after a bit - or immediately if you wait a few seconds before deconstructing

Code: Select all

The scenario level caused a non-recoverable error.
Please report this error to the scenario author.

Error while running event level::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
	__base__/lualib/npe/helper-branches.lua:1202: in function 'condition'
	__core__/lualib/story_2.lua:191: in function 'update'
	__base__/lualib/npe/helper_story.lua:40: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
stack traceback:
	[C]: in function '__index'
	__base__/lualib/npe/helper-branches.lua:1202: in function 'condition'
	__core__/lualib/story_2.lua:191: in function 'update'
	__base__/lualib/npe/helper_story.lua:40: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>

Re: [wheybags]Consistent crash in intro scenario

Posted: Mon Aug 05, 2019 2:03 pm
by wheybags
Thanks for the report.
Fixed for the next version