The solution defines what kind of data should be saved **and loaded.
We created a Default Solution Template for our framework, and it works well with the Item Component. With those modules, they allow you to create your data structure flexibly. It works well with Item Component. You can use our template to create your solution template if you have special needs.
You can review the Solution Template in the Optimizer.
Due to the performance issues, you cannot inspect the saved solution in real-time. But you can inspect what type of data the solution will store in the inspector.
Note that all the items’ saved values will also be saved in each solution. Of course, we need those items’ saved values to restore the solutions if needed.
This is an example of the solution save file.
{
"$id": 0,
"$type": "0|GVL.MCMC.DefaultSolution, Assembly-CSharp",
"evaluationCompleted": true,
"itemParameters": {
"$id": 1,
"$type": "1|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[System.Byte[], mscorlib]], mscorlib",
"comparer": {
"$id": 2,
"$type": "2|System.Collections.Generic.GenericEqualityComparer`1[[System.String, mscorlib]], mscorlib"
},
"$rlength": 2,
"$rcontent": [
{
"$k": "ba477601-8004-401c-998a-9efc3cd53780",
"$v": {
"$id": 3,
"$type": "3|System.Byte[], mscorlib",
"$plength": 1237,
"$pcontent": [
2,
47,
0,
0,
0,
0,
1,
...
...