Getting multiple errors on first import

More
4 years 1 month ago #657 by syhrnk
Hi,

I'm getting these errors on first import the package to my current project. Any help would be greatly appreciated.

Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs(70,67): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string, bool)' and `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Terms_Description.cs(70,67): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string, bool)' and `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_Categorize.cs(147,48): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string, bool)' and `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_MergeTerms.cs(130,62): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string, bool)' and `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_ParseTerms.cs(63,48): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string, bool)' and `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_ParseTerms.cs(63,48): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string, bool)' and `I2.Loc.LanguageSource.DeserializeFullTerm(string, out string, out string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_Script.cs(122,64): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string, bool)' and `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string)'
Assets/I2/Localization/Scripts/Editor/Localization/LocalizationEditor_Tools_Script.cs(122,64): error CS0121: The call is ambiguous between the following methods or properties: `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string, bool)' and `I2.Loc.LanguageSource.GetCategoryFromFullTerm(string)'

Workspace: 64 Bit Unity 5.0.2f1 - Windows 8.1

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #658 by Frank
Hi,
I just installed 5.0.2 and downloaded the latest I2L from the AssetStore and it installed without errors. I was able to run the example scenes and all seems to be working properly.

Can you double check that you have the latest plugin (2.4.5f3)?

Also, if you already had an old version of the plugin in your project, its advisable to delete the I2 folder and reinstall the plugin (not just the I2\Localization folder, but the entire I2 so that the Common folder gets updated as well).
In fact, I advise you to delete the I2 folder and try again just in case.

I remember seen that error before and it was because of old files been kept when updating. Some function now accept extra parameters so the old signature was causing conflict, that's why I suggest deleting the I2 folder before importing again.

Please, let me know if that solves your issue, and if not, it will help me if you could list what steps you do to reproduce that issue, preferably on an empty project so that I could reproduce it.

Thanks,
Frank

PS. Be aware that if you have compile errors in files other than the I2 Localization plugin, then Unity could be using the new Editor scripts but failing when compiling the game scripts. If that's the case, delete the I2 and verify that the project compiles fine before importing I2L again.

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

Time to create page: 0.191 seconds
Template by JoomlaShine