Jump to content

Since Patch my mod fails to build.


Yzaxtol

Recommended Posts

Hi

 

Is anyone else having this problem? My mod compiles with no errors but when it gets to the bottom of the debug procedure it just returns with a FAILED

 

  Quote
E

 

Success - 0 error(s), 14 warning(s) (0 Unique Errors, 14 Unique Warnings)
Execution of commandlet took: 7.84 seconds
Done building project "Spectrum.x2proj" -- FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

 

 

Is there anything I can try apart from re-installing the entire SDK.
I've already tried a Verify Integrity cache after it started to return an error with something actually inside the SDK being incorrect, but it is still not working.
EDIT: Ok, I've tried a few random things and now its coming up with this error message:
  Quote
Warning/Error Summary
---------------------
C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\XComGame\Classes\X2StrategyElement_DefaultTechs.uc(1928) : Error, Unrecognized member 'ItemsToUpgrade' in class 'X2TechTemplate'
C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\XComGame\Classes\X2StrategyElement_DefaultTechs.uc(1877) : Error, Unrecognized member 'ItemsToUpgrade' in class 'X2TechTemplate'
C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\XComGame\Classes\X2StrategyElement_DefaultTechs.uc(1676) : Error, Unrecognized member 'ItemsToUpgrade' in class 'X2TechTemplate'
C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\XComGame\Classes\X2StrategyElement_DefaultTechs.uc(1637) : Error, Unrecognized member 'ItemsToUpgrade' in class 'X2TechTemplate'
C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\XComGame\Classes\X2StrategyElement_DefaultTechs.uc(1601) : Error, Unrecognized member 'ItemsToUpgrade' in class 'X2TechTemplate'
Failure - 5 error(s), 0 warning(s) (5 Unique Errors, 0 Unique Warnings)
Execution of commandlet took: 15.29 seconds
Done building project "Spectrum.x2proj" -- FAILED.

 

 

Link to comment
Share on other sites

So, you could compile the same source code before the patch; but after the patch it gives the error you mentioned? Welcome to Modder Hot Fix Hell. If this is true, then the base game files have changed out from underneath you, and you need to carefully compare the original code against what the mod code is expecting.

Link to comment
Share on other sites

Getting the exact same issue as Yzaxtol, X2techtemplate no longer supports ItemsToUpgrade, forget the fact that it's included in all the default schematics.
Has the SDK not been updated with the new codebase?

As an added bonus my mod now physically crashes the game when launched.

Link to comment
Share on other sites

I managed to do a really shoddy workaround by renaming the X2TechTemplate_DefaultTechs to X2TechTemplate_DefaultTechsCORRUPTED that gives the following log:

 

 

  Reveal hidden contents

 

Link to comment
Share on other sites

I have the solution. Copy the X2TechTemplate_DefaultTechs.uc from C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\SrcOrig\XComGame\Classes

 

and place it into your Src\XComGame\Classes folder of your mod.

Link to comment
Share on other sites

There *WILL* be a new update to the SDK later on this afternoon (presently -- that equals about 30 minutes).

 

Sooooo, i'm sorry to say but --maybe-- trying to compile anything during this transition step might have screwed up how MudBuddy is supposed to adapt with authentic (upgraded) files.

Link to comment
Share on other sites

I've done some further digging and I've found the source of our misery
In the updated game files, they have simply removed the ItemsToUpgrade array from the X2TechTemplate, the only template that now supports upgrading items is now X2SchematicTemplate, which means it is no longer possible to upgrade an item via tech, it HAS to be done via the workshop, very disappointing.

Link to comment
Share on other sites

My issue seems to stem from having a folder in my Mod folder that has the default scripts e.g. Spectrum\Spectrum\Src\XcomGame Copy\ with the uc scripts in it. Once I moved that away and created a seperate mod for referencing the scripts I was then able to rebuild the mod again.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...