[0.15.12] LuaEntity.set_command crashes when passed an invalid defines.command.compound
Probably the case with LuaUnitGroup as well, then. I have not tested.
Essentially, all you have to do is;
Code: Select all
LuaEntity.set_command({
type = defines.command.compound,
structure_type = defines.compound_command.return_last,
commands = {}
})
Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
#0 0x000000000073a350 in CrashHandler::writeStackTrace() at /tmp/factorio-rGYOt2/src/Util/CrashHandler.cpp:105
#1 0x000000000073a5d4 in CrashHandler::SignalHandler(int) at /tmp/factorio-rGYOt2/src/Util/CrashHandler.cpp:237
#2 0x00007f5f4a0277f0 in ?? at ??:0
#3 0x00007f5ed80007d8 in ?? at ??:0
1695.600 Error CrashHandler.cpp:106: Map tick at moment of crash: 20652930
1695.600 Error Util.cpp:80: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.