dbat
New member
Does anyone have experience using Unity to mod on Linux? (Currently on Unity 2018.3.xx)
I am running into a problem when I bundle assets and then share them with another modder who runs Windows. The things don't load, or they look wildly wrong.
Each platform has a target build, so one must bundle for every one. In the C# code to export assets, you'll find:
Therefore I have to add a line for "StandaloneWindows" (and probably Mac) in order to make bundles that hope to load on those systems. These are different files. There's not one bundle for all platforms. (Or am I wrong?)
BUT
How do I tell my modlet which bundle (in Resources) is which?
Are there some XML incantations for platforms when you do something like:
If you see what I mean?
It could be that this is totally unnecessary and I'm suffering under a misconception. Please gimme a hand!
* Here is a link to a PDF I made to show the weirdness in one example on my Linux system.
https://drive.google.com/open?id=1ts5gCX3TGd0O8SUrQ8lw0JoOy2sojK2b
(The one on the right is what it's supposed to look like.)
I am running into a problem when I bundle assets and then share them with another modder who runs Windows. The things don't load, or they look wildly wrong.
Each platform has a target build, so one must bundle for every one. In the C# code to export assets, you'll find:
Code:
BuildPipeline.BuildAssetBundles(.....BuildTarget.[u]StandaloneLinux[/u]);
BUT
How do I tell my modlet which bundle (in Resources) is which?
Are there some XML incantations for platforms when you do something like:
Code:
<property name="Model" platform="LINUX" value="#@modfolder:Resources/LINUXBUNDLE?mymodel" />
<property name="Model" platform="WINDOWS" value="#@modfolder:Resources/WINDOWSBUNDLE?mymodel" />
It could be that this is totally unnecessary and I'm suffering under a misconception. Please gimme a hand!
* Here is a link to a PDF I made to show the weirdness in one example on my Linux system.
https://drive.google.com/open?id=1ts5gCX3TGd0O8SUrQ8lw0JoOy2sojK2b
(The one on the right is what it's supposed to look like.)