X2CommunityCore / X2ModBuildCommon

An improved XCOM 2 mod build system
MIT License
5 stars 5 forks source link

When building multiple script packages, Rebuild All is required #88

Open Iridar opened 1 year ago

Iridar commented 1 year ago

When I'm using X2MBC to build a mod with multiple script packages, I often get these compile errors when trying to compile the mod after it was already previously compiled successfully.

Error, Failed to delete ..\..\XComGame\Script\WOTCIridarDynamicDeployment2.u
Error, Failed to delete ..\..\XComGame\Script\WOTCIridarDynamicDeployment3.u

Doing "Rebuild All" allows the mod to build, but it's obviously undesirable, since it means recooking the assets every time.