Hello. 1. To exclude variables that are not needed in the save game, Changed to Save Game Menu> Game Variables "ALL" to "Select". And below that, I entered the variables to be included.
Then when I started the game, the floatvars, stringvars, etc. in the variablehandler of the equipshorcuts in my inventory were null. (So, all actions using the variable of the equipshortcut do not work.)
And when i call equipshortcut.variables.floatCount, equipshortcut.variables.stringCount etc., it prints 0. (When "all" is checked, the count is output 2,2 (since a total of 4 are entered))
When saving the game, only the specified variables are saved(works well), but the game function does not work properly. (In other words, Game Variables "ALL" works normally, but when Game Variables checked "Select" ,instances of variablehandler.floatvars,stringvars of each shortcut become null)
When accessing equipshortcut.Variables.floatVars, "an object reference not set to an instance of an object" error occurs. (Change floatVars to public for testing)
So, as a workaround, I used "all" to exclude variables that I don't need. (It is more convenient to use "select" to write down only what i need)
2. When an error occurs in the Orc internal code (dll), can't it be displayed on the Unity console? When an error occurs in the codes in the dll, it seems that the error message does not appear. How do I check it?
3.One weapon has a float variable value3 of "damage" in the level 3 setting. And if the save variable is "false" when saving the weapon after creating it, does the weapon have that variable when loading the game? Or is there no variable?
4.When is the getcopy method of equipshortcut.cs used? Is it simply making a replica? Or is it used when loading?