I managed to fix it
Replace this (entity-upgrade.lua, line 405+):
local function update_blueprint_entities(stack, hashmap)
if not (stack and stack.valid and stack.valid_for_read and
stack.is_blueprint_setup()) then return end
with:
local function update_blueprint_entities(stack, hashmap)
if not (stack and stack.valid and stack.valid_for_read and stack.is_blueprint)
then if stack.is_blueprint_book then
local inventory = stack.get_inventory(defines.inventory.item_main)
local success = 0
for k = 1, #inventory do
if update_blueprint_entities(inventory[k], hashmap) then
success = success + 1
end
end
return
else return end
end
if not (stack.is_blueprint_setup()) then return end