0 votes
asked in Bug Report by Rookie (150 points)
Hi, I've recently bought Umotion pro, although I didn't yet started to use it, I've at least imported it in my project. (I'm working on windows)
Although, while doing some Unity cloud build, I did stumble accross this kind of issues for Linux build (mac & windows are fine): 
UMotionApplication.dll could not be loaded, which potentially makes the build fail. 

Unity 2017.4.4f1 LTS
UmotionPro: 1.10p04 

Is motion pro compatible with Linux in the first place ? Do you have any idea what my cause that ?

Full build log: https://paste.ofcode.org/KmvRKvGAAV6iQAuFUjP8UX

Thanks

1 Answer

0 votes
answered by Expert (80k points)
selected by
 
Best answer

Hi Immu,
thanks for your support request.

Is motion pro compatible with Linux in the first place ? 

UMotion is an editor only tool. All the *.dlls etc. are marked as "Editor Only" dlls so they won't be added into your build (or in other words UMotion is compatible with whatever platform you are building for because it simply isn't added to the build anyway). UMotion supports the Windows, Mac and Linux (tested on Ubuntu) editor.

Do you have any idea what my cause that ?

By looking at the error log it seems like Unity is doing some sort of reload of all the editor assemblies during the build process:

143: [Unity] Begin MonoManager ReloadAssembly
144: [Unity] Registering precompiled user dll's ...
145: [Unity] Registered in 1.415354 seconds.
146: [Unity] Refreshing native plugins compatible for Editor in 13.28 ms, found 6 plugins.
147: [Unity] Preloading 1 native plugins for Editor in 4.23 ms.
148: The following assembly referenced from /BUILD_PATH/immu.ifscl.linux/Assets/Editor Default Resources/UMotionEditor/Plugins/Application/UMotionApplication.dll could not be loaded:
149:      Assembly:   Assembly-CSharp    (assemblyref_index=3)
150:      Version:    1.0.6701.27160
151:      Public Key: (none)
152: The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/BUILD_PATH/immu.ifscl.linux/Assets/Editor Default Resources/UMotionEditor/Plugins/Application/).
153: Could not load file or assembly 'Assembly-CSharp, Version=1.0.6701.27160, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
154: The following assembly referenced from /BUILD_PATH/immu.ifscl.linux/Assets/Editor Default Resources/UMotionEditor/Plugins/Editor/UMotionEditor.dll could not be loaded:
155:      Assembly:   Assembly-CSharp    (assemblyref_index=4)
156:      Version:    1.0.6701.27160
157:      Public Key: (none)

It tries to load the UMotionApplication.dll which references to Assembly-CSharp (this is the assembly that contains your script files). But the Assembly-CSharp.dll can not be found.

Do you have any idea why it can't load the Assembly-CSharp.dll? A compile error can cause that the assembly can't be loaded for example.

Does this happen every time when building for Linux?

Best regards,
Peter

commented by
It was happening everytime for linux. Just fixed it, it's working now. Apparently, I had imported the plugin into a package/plugin folder, which was giving some issues. Classic mistake.

Thanks for your help!

Soxware Support

Here you get official product support by the developer and the community for all Soxware Products for Unity®.

Post as guest, login via Facebook or create an account.

Ask questions, report bugs or provide feedback. Please use the correct category and always post in english.

For private email support, please use the Support Form to create a support ticket.

Copyright © 2017 Soxware Interactive | All Rights Reserved | Impressum

...