Error on the I2 Set Current Language on Unity 2018.2 Playmaker version 1.9.0.p4
MissingReferenceException: The object of type 'LanguageSource' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:198)
I2.Loc.LanguageSource.GetSourcePlayerPrefName () (at Assets/I2/Localization/Scripts/LanguageSource/LanguageSource_Import_Google.cs:167)
I2.Loc.LanguageSource.Import_Google (Boolean ForceUpdate, Boolean justCheck) (at Assets/I2/Localization/Scripts/LanguageSource/LanguageSource_Import_Google.cs:125)
I2.Loc.LocalizationManager+<Delayed_Import_Google>c__Iterator0.MoveNext () (at Assets/I2/Localization/Scripts/Manager/LocalizationManager_Sources.cs:98)
I2.Loc.CoroutineManager+<Start>c__AnonStorey1.<>m__0 () (at Assets/I2/Localization/Scripts/Utils/CoroutineManager.cs:41)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:191)
Thanks for reporting this issue. It was fixed in 2.8.8a2 (can be downloaded from the beta folder).
I also went and updated the PlayMaker example scene to show better the SetTerm action.
2.8.8a2 have some code to make sure the error doesn't happen even with bad settings, but If you can't update at the moment, there are a couple things you could do to fix the settings and avoid the issue.
First be sure you have PlayMaker and the PlayMaker Unity UI Addon.
Then, open the LocalizationSource in the PlayMaker Localization example scene and in the Spreadsheet/Google tab, change the Update frequency to NEVER.
That will prevent the error from happening.
Hope that helps,
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!