Jump to content

Recommended Posts

Posted

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.

 

 

Posted

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.

Posted

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.

Posted

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

 

 

  Reveal hidden contents

 

Posted

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.

Posted

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.

Posted

Well, that sucks trust me to get home after a hard days work (in the UK) eager to work on my mod just to screw everything up. :S

Posted

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.

Posted

For everyone having related issues, delete C:\Program Files (x86)\Steam\steamapps\common\XCOM 2 SDK\Development\Src\

It will be copied from SrcOrg and you'll be fine (mostly)

Posted

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.

  • Recently Browsing   0 members

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