vgwb / Antura_arabic

winner of the EduApp4Syria international initiative, the learning game "Antura and the Letters (Arabic)" teaches arabic kids how to read and write. Complete open source Unity project.
http://www.antura.org
Other
54 stars 26 forks source link

[FirstContact] Antura Space can get stuck if leaving/quitting in the middle of the Customization tutorial #572

Closed FrancyCavallari closed 6 years ago

FrancyCavallari commented 6 years ago

Create a profile, get the First Reward ... ... then follow the Customization Tutorial until when you are supposed to touch Antura. Instead of completing the Tutorial, turn off/leave the game. When you restart and reload the profile the game brings you to te Map (BUG: you should go directly to the Antura Space) and the it gets stuck after you open the customization Menu... image

... giving the following exception :

Exception: No new category!
Antura.AnturaSpace.AnturaSpaceTutorialManager.<StepTutorialCustomization>m__1 () (at Assets/_app/_scripts/AnturaSpace/AnturaSpaceTutorialManager.cs:179)
Antura.AnturaSpace.AnturaSpaceTutorialManager+<WaitAndSpawnCO>c__Iterator0.MoveNext () (at Assets/_app/_scripts/AnturaSpace/AnturaSpaceTutorialManager.cs:439)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
CatmanIta commented 6 years ago

Fixing this gracefully would mean saving the 'is new' changes only after you exit the scene, but I think that since this is a minor problem I've just fakde it (selecting the first item). Fixed in [a5b119f]