Welcome, Guest
Username: Password: Remember me

TOPIC: Script Errors after updating to 2.8

Script Errors after updating to 2.8 2 months 1 week ago #2470

  • nowISnow
  • nowISnow's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Karma: 0
After updating an existing project to the latest version, I get these errors:
Assets/I2/Localization/PlayMaker I2/Actions/I2GetTranslation.cs(29,67): error CS0117: `I2.Loc.LocalizationManager' does not contain a definition for `GetTermTranslation'

Assets/I2/Localization/PlayMaker I2/Actions/I2GetTranslation.cs(29,108): error CS1061: Type `I2.Loc.LanguageSource' does not contain a definition for `GetTermTranslation' and no extension method `GetTermTranslation' of type `I2.Loc.LanguageSource' could be found. Are you missing an assembly reference?

4 x Assets/I2/ScriptLocalization.cs(8,70): error CS0117: `I2.Loc.LocalizationManager' does not contain a definition for `GetTermTranslation'

How can I get rid of them?
The administrator has disabled public write access.

Script Errors after updating to 2.8 2 months 6 days ago #2474

  • thatscraigz
  • thatscraigz's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Also wanted to chime in here asking for a fix on this! :side:

-craigz

The administrator has disabled public write access.

Script Errors after updating to 2.8 2 months 6 days ago #2477

  • thatscraigz
  • thatscraigz's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Alright wanted to let you know I found the fix!

Just change these two functions to functions to 'GetTranslation' instead of what it currently is 'GetTermTranslation'.
:cheer:


-craigz
The administrator has disabled public write access.
The following user(s) said Thank You: nowISnow

Script Errors after updating to 2.8 2 months 6 days ago #2478

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 915
  • Thank you received: 196
  • Karma: 58
EDIT: Sorry I thought you were referring to the ScriptsLocalization.cs file!! My bad!!!

That change you did is indeed the fix!!
I will correct it on my end as well.

Thanks for reporting this!!
Frank
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
Last Edit: 2 months 6 days ago by Frank.
The administrator has disabled public write access.

Script Errors after updating to 2.8 2 months 6 days ago #2481

  • thatscraigz
  • thatscraigz's Avatar
  • Offline
  • New Member
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Of course, happy to help :)

I don't know much, but auto-complete functions I can handle ;)

-craigz
The administrator has disabled public write access.
Time to create page: 0.205 seconds
Colors