Welcome, Guest
Username: Password: Remember me

TOPIC: Error on playmaker actions Unity 2018.2

Error on playmaker actions Unity 2018.2 2 months 4 weeks ago #3161

  • Gatskop
  • Gatskop's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
Error on the I2 Set Current Language on Unity 2018.2 Playmaker version 1.9.0.p4

See screenshot

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)
Last Edit: 2 months 4 weeks ago by Gatskop. Reason: attachment
The administrator has disabled public write access.

Error on playmaker actions Unity 2018.2 2 months 1 week ago #3185

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 1129
  • Thank you received: 241
  • Karma: 70
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!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.
Time to create page: 0.354 seconds