[boskid][2.1.14] Crash building enemy spawner with blueprint

This subforum contains all the issues which we already resolved.
mystify
Burner Inserter
Burner Inserter
Posts: 7
Joined: Fri Nov 28, 2025 7:33 pm
Contact:

[boskid][2.1.14] Crash building enemy spawner with blueprint

Post by mystify »

I am updating my mod 2.1 and I'm running into an issue where placing a blueprint for an enemy faction causes a crash when the blueprint contains an enemy spawner. This worked fine in version 2.0


I have attached a minimal mod to reproduce this error. All it does it attempt to build a blueprint containing an enemy spawner when a chunk is generated, as well as provide a spawner that can be blueprinted. If I load this sample mod in 2.0 it also works.

semi-related, but in both versions viewing the blueprint causes a game to crash, but before it was useable if you did't open it.
placing the blueprint manually with the player does seem to work, but the item_stack.build_blueprint call causes the crash.
Attachments
BadBlueprint.zip
Sample Mod to reproduce
(1.6 KiB) Downloaded 9 times
factorio-current.log
(13.5 KiB) Downloaded 13 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4823
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.1.14] Crash building enemy spawner with blueprint

Post by boskid »

Thanks for the report. Issue is now fixed for 2.1.15, however i am not admitting that enemy spawners in blueprint are supported - with this fix i also had to fix a desync related to enemy spawner variation when in a blueprint which indicates that spawners in blueprint are absolutely dry of tests.
Post Reply

Return to “Resolved Problems and Bugs”