Page 1 of 1

[0.17.2] Tutorial Error and Crash

Posted: Thu Feb 28, 2019 1:14 pm
by synysponge
The scenario crashes just before the bot shows automation. Tried it 3x:

Code: Select all

Error while running event level::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
	__base__/lualib/npe/cutscenes/compi_build_iron_cutscene.lua:105: in function 'init'
	...m/steamapps/common/Factorio/data/core/lualib/story_2.lua:231: in function 'jump_to_node'
	...m/steamapps/common/Factorio/data/core/lualib/story_2.lua:196: in function 'update'
	__base__/lualib/npe/storytable.lua:119: 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/cutscenes/compi_build_iron_cutscene.lua:105: in function 'init'
	...m/steamapps/common/Factorio/data/core/lualib/story_2.lua:231: in function 'jump_to_node'
	...m/steamapps/common/Factorio/data/core/lualib/story_2.lua:196: in function 'update'
	__base__/lualib/npe/storytable.lua:119: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
I had two mods on (Bottleneck and Far reach), so I turned them off and tried again. Now I can get through the automation cutscene, but it still crashes before I regain control:

Code: Select all

Error while running event level::on_tick (ID 0)
__base__/lualib/check.lua:499: attempt to index field 'consumers' (a nil value)
stack traceback:
	__base__/lualib/check.lua:499: in function 'consumer_contains'
	__base__/lualib/npe/helper-activities.lua:175: in function 'trigger'
	__base__/lualib/npe/helper-branches.lua:30: in function 'check_activities'
	__base__/lualib/npe/helper-branches.lua:64: in function 'update'
	...m/steamapps/common/Factorio/data/core/lualib/story_2.lua:188: in function 'update'
	__base__/lualib/npe/helper_story.lua:38: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>

Re: [0.17.2] Tutorial Error and Crash

Posted: Thu Feb 28, 2019 1:23 pm
by abregado
Could you deactivate the mods and then try again from the start?

Re: [0.17.2] Tutorial Error and Crash

Posted: Thu Feb 28, 2019 2:25 pm
by synysponge
Yes, so I had tried without mods and it still crashed, but after the cutscene (second error I posted).
But I retried now and it didn't crash.

Re: [0.17.2] Tutorial Error and Crash

Posted: Thu Mar 07, 2019 3:20 pm
by wheybags
Duplicate of viewtopic.php?t=66122 and viewtopic.php?f=226&t=65307
Thanks for the report anyway!