image.png

SteamCloudManager 를 통해, 변경된 키 바인딩과 해금된 난이도를 SaveData 클래스로 묶어 json 형태로 변환한 뒤 보내려고 했지만, 실패하였다.

SteamCloudManager.cs

public void Save()
{
		if (!SteamClient.IsValid)
				Debug.Log("스팀 클라이언트 연결이 끊김");

		string json = JsonUtility.ToJson(saveData, true);
		byte[] data = System.Text.Encoding.UTF8.GetBytes(json);

		Debug.Log(SteamRemoteStorage.IsCloudEnabled);
		Debug.Log(data.Length);
		Debug.Log(SteamRemoteStorage.IsCloudEnabledForAccount);

		bool success = SteamRemoteStorage.FileWrite(SaveFileName, data);
		Debug.Log("FileWrite : " + success);
		if (success)
		{
				Debug.Log(json);
				Debug.Log("Steam Cloud에 데이터 저장 완료.");
		}
		else
		{
				Debug.LogError("Steam Cloud에 데이터 저장 실패.");
		}
}

로컬 디스크(C:) \ Program Files (x86) \ Steam \ logs \ cloud_log.txt

[2025-03-18 15:17:00] [AppID 3508090] Starting sync (init,)
[2025-03-18 15:17:00] [AppID 3508090] AutoCloud checking local state for user 406302897
[2025-03-18 15:17:00] [U:1:406302897] [AppID 3508090] Init cache request complete
[2025-03-18 15:17:00] [AppID 3508090] Starting sync (eval,)
[2025-03-18 15:17:00] [AppID 3508090] AutoCloud checking local state for user 406302897
[2025-03-18 15:17:00] [AppID 3508090] YldWriteCacheDirectoryToFile - empty vector, deleting 'C:\\Program Files (x86)\\Steam/userdata/406302897/3508090/remotecache.vdf'
[2025-03-18 15:17:01] [AppID 3508090] Need to sync from local change number '0' to global change number '0' (full), but not attempting now
[2025-03-18 15:17:01] [AppID 3508090] Eval complete

Steam Cloud 로그 분석


🔍 로그 분석

1️⃣ [2025-03-18 15:17:00] [AppID 3508090] Starting sync (init,)

Steam Cloud 동기화 시작 (초기화 단계)


2️⃣ [2025-03-18 15:17:00] [AppID 3508090] AutoCloud checking local state for user 406302897

Steam Cloud의 AutoCloud 기능이 로컬 상태를 확인 중