Maya 2024 Error - embeddedRL4.mll was not found on MAYA_PLUG_IN_PATH #61

Closed
opened 2024-10-30 00:01:31 +08:00 by booomji · 1 comment
booomji commented 2024-10-30 00:01:31 +08:00 (Migrated from github.com)

Hello,
I download the latest version of this repo which is supposed to support Maya 2024. I get the error below only when I enable Rig - Logic when running the basic dna viewer in Maya 2024.

Error: root : Something went wrong, skipping adding the rig logic... Reason: Plug-in, "embeddedRL4.mll", was not found on MAYA_PLUG_IN_PATH

Steps

  • Install the repo in a folder called C:\dna_calibration
  • Set the system env variable MAYA_MODULE_PATH to the folder above

Additional info .
-Quixel plugin is installed in Maya and points to embeddedRL4.mll in a different path
D:\Quixel_bridge\support\plugins\maya\7.2\MSLiveLink\DHI\plugins\Windows\2024

-I have Python 3.12 installed on my local system. I'm assuming Maya 2024 uses it's own python version

Quite a while ago I managed to run everything in 2023 but I was hoping to run it in 20224.
What could be going wrong here ?

Thanks,
b

Hello, I download the latest version of this repo which is supposed to support Maya 2024. I get the error below only when I enable Rig - Logic when running the basic dna viewer in Maya 2024. `Error: root : Something went wrong, skipping adding the rig logic... Reason: Plug-in, "embeddedRL4.mll", was not found on MAYA_PLUG_IN_PATH` Steps - Install the repo in a folder called C:\dna_calibration - Set the system env variable MAYA_MODULE_PATH to the folder above Additional info . -Quixel plugin is installed in Maya and points to embeddedRL4.mll in a different path `D:\Quixel_bridge\support\plugins\maya\7.2\MSLiveLink\DHI\plugins\Windows\2024` -I have Python 3.12 installed on my local system. I'm assuming Maya 2024 uses it's own python version Quite a while ago I managed to run everything in 2023 but I was hoping to run it in 20224. What could be going wrong here ? Thanks, b
booomji commented 2024-10-31 19:19:33 +08:00 (Migrated from github.com)

Ok solved the problem to make this work in Maya 2024

If you have installed quixel bridge and the Maya plugin then Maya will source it's embeddedRL4.mll and MayaUERBFPlugin.mll from the Quixel folder which wont work for Maya 2024 !
You have to add Maya 2024 support in the Mod file that resides in your C:\dna_calibration folder by pasting the below code at the bottom of the file and save it.
(I have submitted a pull request for the same so the team can either accept or add it themselves)

`+ MAYAVERSION:2024 PLATFORM:win64 MetaHuman-DNA-Calibration any .
PYTHONPATH +:=
PYTHONPATH +:= data
PYTHONPATH +:= lib/Maya2024/windows
MAYA_PLUG_IN_PATH +:= lib/Maya2024/windows``

Now when you start Maya 2024 the plugins from the C:\dna_calibration folder will also show up in you plugins menu (pic attached)
dna_calib_plugin_settings_2024

So load (and autoload) these plugins instead. Now Maya will path to the mll files in the C:\dna_calibration folder instead

Note to myself in the future -

  • This post on Maya Modules is useful tech artists org loading scripts
  • Maya plugins have a module system which use a .mod file extention. e.g dna_calibration.mod
  • Module rules are a flexible way to load different plugin modules and rules around them. e.g you could have a different rule for Linux based installation
  • Since we typically extract Epics MetaHuman-DNA-Calibration repo to C:\dna_calibration folder , it has a dna_calibration.mod file which defines rules and paths for the libraries maya will use
  • Edit the file and make sure to add your engine version if its not already there (epic should support the engine version obviously)
  • Make sure to add the C:\dna_calibration folder to the MAYA_MODULE_PATH in your system environments
  • Press the windows key on your keyboard and start to type the word environment and the Edit Environment Variables option will show up. Click on it the Environment variables button at the bottom of the tab
  • In the system variables click on the create new button (you may need admin privilege's for this )
  • Open maya and the plugin manager window. You may see that maya points to the quixel folder path by default. Instead check and use the same mll files under the C:\dna_calibration category

This is a sample mod file
`+ MAYAVERSION:2022 PLATFORM:win64 MetaHuman-DNA-Calibration any .
PYTHONPATH +:=
PYTHONPATH +:= data
PYTHONPATH +:= lib/Maya2022/windows
MAYA_PLUG_IN_PATH +:= lib/Maya2022/windows

  • MAYAVERSION:2022 PLATFORM:linux MetaHuman-DNA-Calibration any .
    PYTHONPATH +:=
    PYTHONPATH +:= data
    PYTHONPATH +:= lib/Maya2022/linux
    MAYA_PLUG_IN_PATH +:= lib/Maya2022/linux

  • MAYAVERSION:2023 PLATFORM:win64 MetaHuman-DNA-Calibration any .
    PYTHONPATH +:=
    PYTHONPATH +:= data
    PYTHONPATH +:= lib/Maya2023/windows
    MAYA_PLUG_IN_PATH +:= lib/Maya2023/windows

  • MAYAVERSION:2023 PLATFORM:linux MetaHuman-DNA-Calibration any .
    PYTHONPATH +:=
    PYTHONPATH +:= data
    PYTHONPATH +:= lib/Maya2023/linux
    MAYA_PLUG_IN_PATH +:= lib/Maya2023/linux

  • MAYAVERSION:2024 PLATFORM:win64 MetaHuman-DNA-Calibration any .
    PYTHONPATH +:=
    PYTHONPATH +:= data
    PYTHONPATH +:= lib/Maya2024/windows
    MAYA_PLUG_IN_PATH +:= lib/Maya2024/windows`

Cheers
b

Ok solved the problem to make this work in Maya 2024 If you have installed quixel bridge and the Maya plugin then Maya will source it's embeddedRL4.mll and MayaUERBFPlugin.mll from the Quixel folder which wont work for Maya 2024 ! You have to add Maya 2024 support in the Mod file that resides in your C:\dna_calibration folder by pasting the below code at the bottom of the file and save it. (I have submitted a pull request for the same so the team can either accept or add it themselves) `+ MAYAVERSION:2024 PLATFORM:win64 MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2024/windows MAYA_PLUG_IN_PATH +:= lib/Maya2024/windows`` Now when you start Maya 2024 the plugins from the C:\dna_calibration folder will also show up in you plugins menu (pic attached) ![dna_calib_plugin_settings_2024](https://github.com/user-attachments/assets/2e6bdac2-7446-4ad9-8ea5-6296591482a5) So load (and autoload) these plugins instead. Now Maya will path to the mll files in the C:\dna_calibration folder instead Note to myself in the future - - This post on Maya Modules is useful [tech artists org loading scripts](https://www.tech-artists.org/t/trouble-loading-scripts-from-usersetup-and-userprefs/15597/2) - Maya plugins have a module system which use a .mod file extention. e.g dna_calibration.mod - Module rules are a flexible way to load different plugin modules and rules around them. e.g you could have a different rule for Linux based installation - Since we typically extract Epics MetaHuman-DNA-Calibration repo to C:\dna_calibration folder , it has a dna_calibration.mod file which defines rules and paths for the libraries maya will use - Edit the file and make sure to add your engine version if its not already there (epic should support the engine version obviously) - Make sure to add the C:\dna_calibration folder to the MAYA_MODULE_PATH in your system environments - Press the windows key on your keyboard and start to type the word environment and the Edit Environment Variables option will show up. Click on it the **Environment variables** button at the bottom of the tab - In the system variables click on the **create new** button (you may need admin privilege's for this ) - Open maya and the plugin manager window. You may see that maya points to the quixel folder path by default. Instead check and use the same mll files under the C:\dna_calibration category This is a sample mod file `+ MAYAVERSION:2022 PLATFORM:win64 MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2022/windows MAYA_PLUG_IN_PATH +:= lib/Maya2022/windows + MAYAVERSION:2022 PLATFORM:linux MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2022/linux MAYA_PLUG_IN_PATH +:= lib/Maya2022/linux + MAYAVERSION:2023 PLATFORM:win64 MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2023/windows MAYA_PLUG_IN_PATH +:= lib/Maya2023/windows + MAYAVERSION:2023 PLATFORM:linux MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2023/linux MAYA_PLUG_IN_PATH +:= lib/Maya2023/linux + MAYAVERSION:2024 PLATFORM:win64 MetaHuman-DNA-Calibration any . PYTHONPATH +:= PYTHONPATH +:= data PYTHONPATH +:= lib/Maya2024/windows MAYA_PLUG_IN_PATH +:= lib/Maya2024/windows` Cheers b
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CGNICO/Metahuman_DNA_Calibration#61
No description provided.