I am not wangxs, but here is a mod which does a same category error, only the parameter flags differ. File 1 includes the mod for loading ingame and the diagnostics. All other files also have the unityexport package.
Yes the pathing and validation does not make sense (i can just use the normal descriptor and not the synergy), I deliberately made it like this to showcase the issue.
The issue is, the game tries to make the default effectmapper for the path and effect. But it fails. The error tells missing key localizations for the different parameter flags, which do not help and is likely wrong. In this case the error description should 1) tell you the problematic descriptor and 2) the correct error. If you add the effectmapper and use legal parameter flags or use a custom effect text the error goes away and the mod loads
In addition, if any bug happens which causes the game to crash or unload the mod, the game will also add the very first SynergyDefinition of the game according to structure hierarchy (in this case Swahili_Emblematic; File 3)
If you actually remove the descriptor from the definition of swahili, the game will complain about the next SynergyDefinition (in that case Swahili_Harbour; File 4)). This entry around the Swahili is somehow totally misplaced since there is no change to it and the game should not have an issue with it to begin with since it complains the descriptors is found already in another synergy. You can do this again and again (the removal of the descriptor from the synergydefinition) and the next definition as error will show up.
My guess, there is somewhere a null reference where it should not be (would have been checked before) and it is caused because some index value unintentionally shifted maybe?
Suggested Improvements:
1) if a descriptors makes an error, it should be named. same with other elements like definitions, descriptormappers, etc.
2) if you use illegal parameter flags in DescriptorMapper, which are not there it tells you which flags are illegal, but not the descriptor or the mapper name where this is used (makes finding it maybe difficult).
I am not wangxs, but here is a mod which does a same category error, only the parameter flags differ. File 1 includes the mod for loading ingame and the diagnostics. All other files also have the unityexport package.
Yes the pathing and validation does not make sense (i can just use the normal descriptor and not the synergy), I deliberately made it like this to showcase the issue.
The issue is, the game tries to make the default effectmapper for the path and effect. But it fails. The error tells missing key localizations for the different parameter flags, which do not help and is likely wrong. In this case the error description should 1) tell you the problematic descriptor and 2) the correct error. If you add the effectmapper and use legal parameter flags or use a custom effect text the error goes away and the mod loads
In addition, if any bug happens which causes the game to crash or unload the mod, the game will also add the very first SynergyDefinition of the game according to structure hierarchy (in this case Swahili_Emblematic; File 3)
If you actually remove the descriptor from the definition of swahili, the game will complain about the next SynergyDefinition (in that case Swahili_Harbour; File 4)). This entry around the Swahili is somehow totally misplaced since there is no change to it and the game should not have an issue with it to begin with since it complains the descriptors is found already in another synergy. You can do this again and again (the removal of the descriptor from the synergydefinition) and the next definition as error will show up.
My guess, there is somewhere a null reference where it should not be (would have been checked before) and it is caused because some index value unintentionally shifted maybe?
Suggested Improvements:
1) if a descriptors makes an error, it should be named. same with other elements like definitions, descriptormappers, etc.
2) if you use illegal parameter flags in DescriptorMapper, which are not there it tells you which flags are illegal, but not the descriptor or the mapper name where this is used (makes finding it maybe difficult).
Many thanks to shakee boss!
I've checked each Descriptor last night and finally found the reason.
The new Ethiopians' LT has a DescriptorMapper and I did not notice this.
wangxs
Pharaoh
wangxs
Pharaoh
7 600g2g ptsReport comment
Why do you report wangxs?
Are you sure you want to block wangxs ?
BlockCancelAre you sure you want to unblock wangxs ?
UnblockCancelDEVCimiur
Dev Team
DEVCimiur
Dev Team
21 700g2g ptsReport comment
Why do you report Cimiur?
Are you sure you want to block Cimiur ?
BlockCancelAre you sure you want to unblock Cimiur ?
UnblockCancelwangxs
Pharaoh
wangxs
Pharaoh
7 600g2g ptsReport comment
Why do you report wangxs?
Are you sure you want to block wangxs ?
BlockCancelAre you sure you want to unblock wangxs ?
UnblockCancelDEVCimiur
Dev Team
DEVCimiur
Dev Team
21 700g2g ptsReport comment
Why do you report Cimiur?
Are you sure you want to block Cimiur ?
BlockCancelAre you sure you want to unblock Cimiur ?
UnblockCancelshakee
Fanatic Survivor
shakee
Fanatic Survivor
32 400g2g ptsReport comment
Why do you report shakee?
Are you sure you want to block shakee ?
BlockCancelAre you sure you want to unblock shakee ?
UnblockCancelwangxs
Pharaoh
wangxs
Pharaoh
7 600g2g ptsReport comment
Why do you report wangxs?
Are you sure you want to block wangxs ?
BlockCancelAre you sure you want to unblock wangxs ?
UnblockCancel