[0.15.23] on_research_finish no longer fires (save specific)

This subforum contains all the issues which we already resolved.
Endwashere
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sat Apr 29, 2017 1:22 am
Contact:

[0.15.23] on_research_finish no longer fires (save specific)

Post by Endwashere »

In my save, the on_research_finish event does not fire. I have a few mods, but it doesn't work even after disabling them all. Of note is the auto-research mod, which would normally trigger starting the next research, but no longer works with the event not being triggered.

To narrow the problem down and make sure the event really is not triggering, I have tried running the following:

/c script.on_event(defines.events.on_research_finished, function() game.print("finish") end)

In the save, the current research should finish in about 20 or 30 seconds, but no message will be printed. To make sure I'm not making a mistake somewhere, I've tried that command with a brand new game after also spawning in items to quickly test researching, and it will print the message there, so it seems very specific to my save state (and the auto-research mod does also work on a new game).

I first observed the problem after installing 0.15.22
Attachments
factorio-current.log
(14.58 KiB) Downloaded 140 times
factorio-bug-2.zip
mods + save
(38.09 MiB) Downloaded 170 times
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.15.23] on_research_finish no longer fires (save specific)

Post by TruePikachu »

Are you only testing with infinite researches, or does this apply to a research that does not require space science packs?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14290
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.23] on_research_finish no longer fires (save specific)

Post by Rseding91 »

Thanks for the report. This is now fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”