i just made a research tree for a combatant skill and assigned it to the combatant. when i load game, it does not detect any research tree (the combatant selection turned gray).
but when i start a new game, the new research tree is now exist.
changing research tree conditions (like research cost and conditions) work on both new and older saves game file. only when adding new research tree into combatant doesnt update/ reflected in the older saved game file.
how can i fix it to work with older saved game file? if not, what is the best practice to add new this? since i would like to use this for weapon and skill upgrade.
Many things you set up in the combatant are initialized when the combatant is first created for the game - since the game can change what's available (e.g. forgetting abilities or research trees), the data is not re-initialized when loading. So, loading will have most of the data as it was saved, not getting it from the settings.
To clean up such things if you change it, you can use global machines (Base/Control > Global Machines). Using the Scene global machine type allows you to execute it on Load Game scene change types, i.e. the global machine's schematic will execute when loading the game. Here, you can e.g. add research trees and other data, or remove things you no longer want. I'd recommend to use this with In Old Scene disabled to make sure the save game's data is already fully loaded before the schematic.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
So, loading will have most of the data as it was saved, not getting it from the settings.
To clean up such things if you change it, you can use global machines (Base/Control > Global Machines). Using the Scene global machine type allows you to execute it on Load Game scene change types, i.e. the global machine's schematic will execute when loading the game. Here, you can e.g. add research trees and other data, or remove things you no longer want. I'd recommend to use this with In Old Scene disabled to make sure the save game's data is already fully loaded before the schematic.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!