Autosave saving a bunch of unwanted data I don't have selected
Posted: Thu Jan 05, 2023 9:10 pm
Hey,
When I use the autosave manager, I only have one variable selected. However, when looking at the save file, it has a bunch of non-selected unwanted junk saved. When I delete the save file and create a new one, same thing happens. I cannot recreate in a simple scene. Autosave works well in a simple scene, but not with the main project. I want to post the code file but it's so large that it won't let me post it here or as an attachment. The code at the very end of the file is correct:
However the rest of the code above it is a bunch of things not wanted:
That's just a small example of the seemingly endless lines of JSON in the ES3 file.
Talk to you soon!
When I use the autosave manager, I only have one variable selected. However, when looking at the save file, it has a bunch of non-selected unwanted junk saved. When I delete the save file and create a new one, same thing happens. I cannot recreate in a simple scene. Autosave works well in a simple scene, but not with the main project. I want to post the code file but it's so large that it won't let me post it here or as an attachment. The code at the very end of the file is correct:
Code: Select all
{
"_ES3Ref" : "4158496680168752840",
"transformID" : 1016852802178884189,
"components" : [
{
"__type" : "AchievementsStatsSystem,Assembly-CSharp",
"_ES3Ref" : "6149551291058164828",
"goID" : "4158496680168752840",
"tilesDropped" : 6,
"enabled" : true
}
]
}
Code: Select all
{
"758351fb-cae2-4ccf-a6ac-775b540f8b97" : {
"__type" : "UnityEngine.GameObject[],UnityEngine.CoreModule",
"value" : [
{
"_ES3Ref" : "4096053245456922813",
"transformID" : 8795402199868133679,
"children" : [
{
"_ES3Ref" : "6967997822982943296",
"transformID" : 2341720508674887295,
"layer" : 0,
"tag" : "Untagged",
"name" : "GameSystems",
"hideFlags" : 0,
"active" : true,
"children" : [
{
"_ES3Ref" : "8267679461209591394",
"transformID" : 6658336377583076711,
"layer" : 0,
"tag" : "Untagged",
"name" : "EventSystem",
"hideFlags" : 0,
"active" : true,
"children" : [
],
"components" : [
{
"__type" : "Transform",
"_ES3Ref" : "6658336377583076711",
"goID" : "8267679461209591394",
"parent" : {
"_ES3Ref" : "2341720508674887295"
},
"localPosition" : {
"x" : -0.205432,
"y" : 0.4972342,
"z" : 0.196682185
},
"localRotation" : {
"x" : 0,
"y" : 0,
"z" : 0,
"w" : 1
},
"localScale" : {
"x" : 1,
"y" : 1,
"z" : 1
},
"siblingIndex" : 0
},{
"__type" : "UnityEngine.EventSystems.EventSystem,UnityEngine.UI",
"_ES3Ref" : "5229317280417347848",
"goID" : "8267679461209591394"
}
]
},{
"_ES3Ref" : "2437471812114993033",
"transformID" : 1063433724713904362,
"layer" : 0,
"tag" : "Untagged",
"name" : "Snap Controller",
"hideFlags" : 0,
"active" : true,
"children" : [
],
"components" : [
{
"__type" : "Transform",
"_ES3Ref" : "1063433724713904362",
"goID" : "2437471812114993033",
"parent" : {
"_ES3Ref" : "2341720508674887295"
},
"localPosition" : {
"x" : -0.205432,
"y" : 0.4972342,
"z" : 0.196682185
},
"localRotation" : {
"x" : 0,
"y" : 0,
"z" : 0,
"w" : 1
},
"localScale" : {
"x" : 1,
"y" : 1,
"z" : 1
},
"siblingIndex" : 1
}
]
}
Talk to you soon!