[wheybags] [0.17.75] NPE crash, accessing deleted entity in on_ai_command_completed()
Posted: Wed Nov 06, 2019 9:16 pm
Background: I did an NPE play-through to find some issues. I don’t know what exactly caused this. Compilatron approached the coal mine in the starting location, I think because I placed a chest collecting coal. (It seems if you do so, Compilatron sometimes approaches it to tell you that you can take the items in it).
I think a script deleted some building at the miners, while Compilatron drove there, then the game crashed.
When I reloaded the last autosave, I wasn’t able to reproduce it.
This happened in the initial starting area.
Edit: Seems to be a duplicate of: 65162
I should have searched the forum a bit more before posting.
I think a script deleted some building at the miners, while Compilatron drove there, then the game crashed.
When I reloaded the last autosave, I wasn’t able to reproduce it.
This happened in the initial starting area.
Code: Select all
911.518 Error MainLoop.cpp:1195: Exception at tick 5206646: Szenario level hat einen unbehebbaren Fehler verursacht.
Bitte informiere den Autor des Szenarios über diesen Fehler.
Error while running event level::on_ai_command_completed (ID 113)
Given entity doesn't exist anymore.
stack traceback:
__base__/lualib/compi.lua:233: in function 'indicate'
__base__/lualib/compi.lua:806: in function '?'
__base__/lualib/function_save.lua:15: in function 'run'
__base__/lualib/command_callback.lua:47: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
stack traceback:
[C]: in function 'create_entity'
__base__/lualib/compi.lua:233: in function 'indicate'
__base__/lualib/compi.lua:806: in function '?'
__base__/lualib/function_save.lua:15: in function 'run'
__base__/lualib/command_callback.lua:47: in function '?'
__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4
Edit: Seems to be a duplicate of: 65162
I should have searched the forum a bit more before posting.