Unity 5.1.1 save lost

Hello,

I developed my game with Unity (4.6, 5.0, 5.1 …) and I never had a problem with my backup. But since version 5.1.1 I lose all backups of my game when I will update on my phone.

The solution was called “RideKitchen Free” from Unity 5.1.1 and the solution is called “RideKitchenFree” when I change the name of the solution “RideKitchen Free” the problem is not resolved.

So I do not think it comes from that.

I am looking for a solution, but if someone in the solution I’m interested

thank you

Check your app GUID in C:\Users<user>\AppData\Local\Packages, if it’s different for different solution names, that would explain your problem. I think you can force it to be the same by specifying same Package Name in Package.appxmanifest in VS solution.

Hello,

Thank you for your response.
I found a folder called App.a28d5ce79.aad80.a441b.a8b31.a2e08e4830b8e_8wekyb3d8bbwe but what with?
I have forwarded application names exactly as it was before and it still does not work:

Former project

New projet

Thank you

Maybe I misunderstood you, when you say “backup”, what exactly are you talking about, PlayerPrefs or something else?

Excuse me I may be poorly expressed, I’m French.

I have my game That Is to version 2.1 installed on my phone (Made with Unity 5.0) and I have Developed an update for my game Version 2.2 with the unity and when to version 5.1.1 I installed the update on my phone, the Does not find game saves, I have to start all over again. Yes the PlayerPrefs are empty

thank you for your help

If the package GUID is the same between older and newer version, then player prefs should persist. If you’re testing this locally, you might also want to check Visual Studio project properties in Debug section, there is an option “Uninstall and then re-install my package…”.

Additionally try checking here Microsoft Q&A | Microsoft Learn

Looking at the architecture of the visual studio record I am a diffiérence overview:

Version 2.1 :

Version 2.2 :

The folder name is different: “RideKitchen Free” and “RideKitchenFree”

Since the Unity version 5.1 generates me a solution and not RideKitchenFree RideKitchen Free, so I changed the name of the solution in Visual Studio, but apparently this does not change the folder name, it would be to that? But how to change the folder name? because if I change the Visual Studio does not recognize the solution.

thank you

2187085--145030--1.PNG
2187085--145031--2.PNG

Folder names shouldn’t made any difference, try comparing Package.appxmanifest file, with tool like WinMerge - You will see the difference…

Also, make sure to recreate store association for the new project. It might be that since your old project is associated with a real app on the store, it refuses to match a non-associated project with it.

So I have an error on Unity in debug on the first stage:

Data corruption detected while reading player prefs, CRC -405422489 != 1641000802
(Filename: C:/buildslave/unity/build/PlatformDependent/MetroPlayer/PlayerPrefs.cpp Line: 171)

thank you

This error is only possible, if you modified C:\Users<user>\AppData\Local\Packages<AppPackageID>LocalState\playerprefs.dat manually or have a disk failure…

Of course there’s a chance there’s a legitimate error, without a repro case it’s hard to tell.

I reset my computer

But why if I recomplie the old version of my game I get backups of my game?

( I test my game on a real windows phone )

Sorry, I am confused, so that CRC error, does it happen on Windows Phone (and I presume it’s Windows Phone 8.1, not Windows Phone 8) or PC?

The error appears on my windows phone 8.1

So why did you need to reset your computer? :slight_smile: Could you try to see if this issue reproducible with very simple app, so we would at least exclude the possibility that the problem is in your app?

  • Create empty project
  • Create a button which would save something to PlayerPrefs
  • Deploy app with Unity version where you suspect save data layout is changing, the redeploy that app with newer Unity version, if you get same CRC error, that means it’s really a bug, and we would really like a repro from you.

I had a virus, I could not run certain software, including Unity and I had lots of advertisements

I created a project with Unity that I called "test Unity"with 5.0.3f2 Version (x64) with whom I never had a problem each update.
A button that counts, posters and records the number of clicks, and recovered each application launch
I installed it on my phone, pressed several times. I quit and relaunched the old click the application were displayed.
I then reinstalled the latest version of 5.1.1f1 (x64) recompiled the same application without modification and I installed over the older version on my windows phone and I still have this error … Data corruption detected CRC

But reinstalling my phone with version 5.0.3 of Unity I still have my backups

thank you :slight_smile:

Can you keep Me up to date? :slight_smile:

Please

I still need a bug report from you.- Unity QA: Building quality with passion