Easy Save is making unnecessary line breaks

Discussion and help for Easy Save 3
Post Reply
doodlinbee
Posts: 23
Joined: Sat Sep 05, 2020 12:53 pm

Easy Save is making unnecessary line breaks

Post by doodlinbee »

Easy save is making this wierd thing where it adds unnecessary line breaks, and it adds more and more of them the bigger the file is.
Here's an example of my save file

Code: Select all

{
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002DamageMult" : {
		"__type" : "System.Single",
		"value" : 0.32
	},
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002Armor" : {
		"__type" : "System.Single",
		"value" : 0

	},
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002HP" : {
		"__type" : "System.Single",
		"value" : 0


	},
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002Rot" : {
		"__type" : "UnityEngine.Quaternion,UnityEngine.CoreModule",
		"value" : {
			"x" : 0,
			"y" : 0,
			"z" : 0,
			"w" : 1
		}
	},
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002Pos" : {
		"__type" : "UnityEngine.Vector3,UnityEngine.CoreModule",
		"value" : {
			"x" : 6.568,
			"y" : -2.01450062,
			"z" : 0.033
		}
	},
	"Scene_MiniTests_2a2d25cc-811c-4a14-95b7-6c33c2977002Destroyed" : {
		"__type" : "System.Boolean",
		"value" : false





	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9DamageMult" : {
		"__type" : "System.Single",
		"value" : 0.32






	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9Armor" : {
		"__type" : "System.Single",
		"value" : 0







	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9HP" : {
		"__type" : "System.Single",
		"value" : 0








	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9Rot" : {
		"__type" : "UnityEngine.Quaternion,UnityEngine.CoreModule",
		"value" : {
			"x" : 0,
			"y" : 0,
			"z" : 0,
			"w" : 1
		}
	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9Pos" : {
		"__type" : "UnityEngine.Vector3,UnityEngine.CoreModule",
		"value" : {
			"x" : 6.568,
			"y" : -2.01450062,
			"z" : 0.033
		}
	},
	"Scene_MiniTests_45ff9c94-fd8e-47cd-ba45-4b2add4af6b9Destroyed" : {
		"__type" : "System.Boolean",
		"value" : false











	},
	"Scene_MiniTests_07569ce7-ec03-4f4b-833c-2c427e24425fTimeInThisState" : {
		"__type" : "System.Single",
		"value" : 0












	},
	"Scene_MiniTests_07569ce7-ec03-4f4b-833c-2c427e24425fStateName" : {
		"__type" : "System.String",
		"value" : ""
	},
	"Scene_MiniTests_07569ce7-ec03-4f4b-833c-2c427e24425fTarget" : {
		"__type" : "UnityEngine.Transform,UnityEngine.CoreModule",
		"value" : null














	},
	"Scene_MiniTests_07569ce7-ec03-4f4b-833c-2c427e24425fBrainActive" : {
		"__type" : "System.Boolean",
		"value" : true















	},
	"Scene_MiniTests_07569ce7-ec03-4f4b-833c-2c427e24425fDestroyed" : {
		"__type" : "System.Boolean",
		"value" : false
















	},
	"AIBrain_Ranged_Basic_99212402-0a6a-4b9a-b2d7-2eeb6b25180fTimeInThisState" : {
		"__type" : "System.Single",
		"value" : 0

















	},
	"AIBrain_Ranged_Basic_99212402-0a6a-4b9a-b2d7-2eeb6b25180fStateName" : {
		"__type" : "System.String",
		"value" : ""
	},
	"AIBrain_Ranged_Basic_99212402-0a6a-4b9a-b2d7-2eeb6b25180fTarget" : {
		"__type" : "UnityEngine.Transform,UnityEngine.CoreModule",
		"value" : null



















	},
	"AIBrain_Ranged_Basic_99212402-0a6a-4b9a-b2d7-2eeb6b25180fBrainActive" : {
		"__type" : "System.Boolean",
		"value" : true




















	},
	"AIBrain_Ranged_Basic_99212402-0a6a-4b9a-b2d7-2eeb6b25180fDestroyed" : {
		"__type" : "System.Boolean",
		"value" : false





















	}
}
What could cause this?
doodlinbee
Posts: 23
Joined: Sat Sep 05, 2020 12:53 pm

Re: Easy Save is making unnecessary line breaks

Post by doodlinbee »

I fixed the problem by saving to the cache first
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Easy Save is making unnecessary line breaks

Post by Joel »

Hi there,

We've not seen this before. If you're able to private message me a simple project which replicates it I'm happy to look into it further.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply