Open FrancyCavallari opened 6 years ago
The more I test and the more thnk it's NOT related with the new Shaddah management!
Copying here the comments that were wrongly put on #585
@CatmanIta wrote: Issue seems to be related to ArabicAlphabetHelper.FindLetter.
MakeFriends calls ArabicAlphabetHelper.FindLetter(Core.AppManager.I.DB, word.Data, markedLetter.Data, true));
I suspect that the arabic alphabet helper is not correctly finding the given letter with the correct form when splitting.
@FrancyCavallari wrote:
I found a warning in the Log:
Cannot parse letter ّ (0651) in اَﻟﺰَّﻳْﺖ
UnityEngine.Debug:Log(Object)
Antura.Helpers.ArabicAlphabetHelper:AnalyzeArabicString(DatabaseObject, String, Boolean, Boolean) (at Assets/_app/_scripts/Language/ArabicAlphabetHelper.cs:299)
Antura.Helpers.ArabicAlphabetHelper:SplitWord(DatabaseManager, WordData, Boolean, Boolean) (at Assets/_app/_scripts/Language/ArabicAlphabetHelper.cs:138)
Antura.Helpers.ArabicAlphabetHelper:FindLetter(DatabaseManager, WordData, LetterData, Boolean) (at Assets/_app/_scripts/Language/ArabicAlphabetHelper.cs:120)
Antura.LivingLetters.LivingLetterController:MarkLetters(List1, Color) (at Assets/_app/_scripts/LivingLetter/LivingLetterController.cs:473) Antura.Minigames.MakeFriends.MakeFriendsLivingLetter:MarkLetters(List1, Color) (at Assets/_games/MakeFriends/_scripts/MakeFriendsLivingLetter.cs:329)
Antura.Minigames.MakeFriends.
I also had the issue without any warning like in this case:
@StefanoCecere I added you to this issue since it may be related to "shaddah"... if we have time we have a look at it
Usually the correct letter get highlighted in both words when you drop the right answer... ... but sometimes (1 out of 10) the letters do not highlight.
Here you have an example... ... and it's log: [New Round] Word 1: رﺰﺠﻟا, Word 2: ﺖﻳﺰﻟا Common: ـﺰَ, Uncommon: ـﺶّ / ـﺺّ / غِ / لَ / ﺻَ
NOTE: I think this problem appeared with the new management of Shaddah but I was able to reproduce it both on words with and without Shaddah.