Closed Yokmp closed 2 years ago
Did you change mod contents without updating the version? That's the only possible way this could have happened that I can think of.
Yes i did change some code at that time. Didn't thought about it uses control to get every recipe without like softdepend on every mod. Is there a force reset command?
Recipe Book regenerates all of its data during on_load to significantly decrease its script data footprint. Because of this, if you add a recipe and then make an existing tech unlock it, the recipe won't exist in recipe book's database, but the LuaTechnologyPrototype will point to it. Adding validity checks everywhere would make the already complex database code even more complex. The only proper fix for this would be to make the prototype lists readable during on_load, which would be up to the Factorio developers.
Describe the Bug
I have no idea what happened.
To Reproduce
Just loaded into a save and this popped up in a window:
Save file & Username
Username: Yokmp cb-aio.zip
IF YOU DO NOT UPLOAD A SAVE FILE AND PROVIDE YOUR USERNAME, THE BUG REPORT WILL BE IGNORED UNTIL YOU DO.
Log file
factorio-current.log