x


Sattelite assemblies from plugins are not used

We are developing a Unity game that is part of a larger system. Texts that are used in the Unity game come from external dlls (which are used in other parts of the larger system). The problem we are facing is that Unity does not seem to include sattelite assemblies (which contain the localized texts and other resources). How should we solve this problem?

The reason we use sattelite assemblies is to not have duplicate translations in the unity project and other places we use the texts.

more ▼

asked May 25 '11 at 10:39 AM

Woutor gravatar image

Woutor
103 4 5 12

I just ran into this problem too while localizing editor scripts. I was using satellite assemblies for each language's resources. It was a standard .net setup: Each language in its own sub-folder. But the dlls all had the same file name and I think this confuses Unity, causing only one satellite dll to be recognized.

In my case, renaming the dlls, making the filenames unique, fixed the problem...

Nov 17 '12 at 01:10 AM Alex Chouls
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

We used ILMerge to merge the assemblies into a single dll, this works nicely.

For Unity to be able to resolve the resources from the generated code we replace the ResourceManager with a SingleAssemblyComponentResourceManager:

http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a

more ▼

answered Feb 16 '12 at 02:39 PM

Woutor gravatar image

Woutor
103 4 5 12

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x230
x85
x20

asked: May 25 '11 at 10:39 AM

Seen: 662 times

Last Updated: Feb 08 at 02:14 PM