ghorsington / CM3D2.YATranslator

Yet Another Translator -- Translation plug-in for CM3D2 remade from scratch
https://coder.horse/CM3D2.YATranslator
The Unlicense
28 stars 5 forks source link

Error on Texture loading on 1.24 #27

Closed ghost closed 5 years ago

ghost commented 5 years ago

The console spit out this error when I tried YAT

MissingMethodException:` Method not found: 'TextureResource..ctor'.
  at CM3D2.YATranslator.Hook.TranslationHooks.OnAssetTextureLoad (Int32 forceTag, .UIWidget im) [0x00000] in <filename unknown>:0 
  at CM3D2.YATranslator.Plugin.YATranslator.TranslateExisting (Boolean levelChanged) [0x00000] in <filename unknown>:0 
  at CM3D2.YATranslator.Plugin.YATranslator.OnLevelWasLoaded (Int32 level) [0x00000] in <filename unknown>:0
ghorsington commented 5 years ago

Greetings!

I assume by 1.24 you mean COM version 1.24 (do correct me if I'm wrong). What version of YAT are you using? There haven't been any changes in the TextureResource class in COM since version 1.13.
Thus latest version of YAT (1.5.7.0) should work with the latest version of COM.

works

Please make sure you're using the latest version of YAT and that your game is indeed running on 1.24.