dnSpyEx / dnSpy

Unofficial revival of the well known .NET debugger and assembly editor, dnSpy
GNU General Public License v3.0
7.02k stars 462 forks source link

Dnspy is not friendly to unity localization plugin support #341

Open 2540709491 opened 4 months ago

2540709491 commented 4 months ago

dnSpyEx version

6.5.1

Describe the Bug

For Unity games that support localization, the text display in the game is abnormal after changing the localization-related code

How To Reproduce

Like Title, I modified part of this funcation, after packaging, there was a display exception, and I could not get localized text, and it was normal to display Chinese before packaging. image

Expected Behavior

If he were normal, he would show Chinese, but it is not;

Actual Behavior

after image

Additional Context

If you need more information, I'm more than happy to provide it, and I really hope dnspy can support it, I am very happy to provide it, I really hope that dnspy can support it, in addition, this article is machine translated, if there is any hope that you can not understand, I look forward to your early reply

ElektroKill commented 4 months ago

Hello, could you provide a snapshot of the code before and after modification? perhaps you modified the code which creates the string that is used to look up the localized asset.