iimachines / Maya2glTF

Maya to glTF 2.0 exporter
MIT License
324 stars 49 forks source link

Plugin doesn't work in Maya LT #135

Open FlorentMasson opened 4 years ago

FlorentMasson commented 4 years ago

I tried to install the plugin according to the instructions on a fresh Maya LT 2020 install. The "maya" folder and files have been copied to "my documents"

Nor this directory nor anything related to gltf is listed in the Plug-in Manager

When I type "maya2glTF_UI" in MEL, I have this error // Error: line 1: Cannot find procedure "maya2glTF_UI".

Please advise...

ziriax commented 4 years ago

Thanks for reporting! Unfortunately I don't have Maya 2020 LT, but it seems I can download a trial, I will try that.

What version of the plugin are you using?

Did you restart Maya after installing the plugin?

Do you happen to have Onedrive installed? That app overrides the "My Documents" folder. I tried to fix that in the latest release...

FlorentMasson commented 4 years ago

Thanks for your quick reply, I installed the latest, v1.1.0 Yes, I did restart Maya and I did not find OneDrive running (I probably disabled it long time ago) If it can help, here are all folders listed in the plugin manager image

ziriax commented 4 years ago

Oh it seems Maya2020 LT is not looking for plug-ins in the "documents" folder? I'm installing it now...

ziriax commented 4 years ago

Bummer, it seems the LT versions of Maya just don't support custom plug-ins... 😢

So you would have to convince Autodesk to include this plug-in into LT by default...

See here

A plug-in is an add-on module that adds features to Maya LT. You can load and unload only the default plug-ins in Maya LT; you cannot create or add specialty plug-ins.

FlorentMasson commented 4 years ago

So much for indie devs... 😢 Thanks for looking

ziriax commented 4 years ago

Maybe there's way to hack around it of course, somehow Maya needs to detect if the plugin is compatible...

ziriax commented 4 years ago

I think the best alternative approach is to export as FBX, and then use an FBX to GLTF exporter...

Are you using this plug-in for a specific reason?

FlorentMasson commented 4 years ago

The reason is trying to find an alternative to blender 😅 But the lack of GLTF support in Maya won't really make the workflow easier (especially if we need to convert through FBX)

ziriax commented 4 years ago

Well, maybe we should all spam Autodesk to include this plugin with Maya ;-)

But being a commercial company, I'm not sure Autodesk is embracing glTF...

fire commented 3 years ago

I am able to work on this plugin now. What is a better way to get access to Maya that can run this plugin.

ziriax commented 3 years ago

Nice, but I don't think Maya LT supports plugins at all?

ziriax commented 3 years ago

One possible hack could be to see if replacing any of the included plugins by another plugin with the same name would work...

But that is of course against the licensing agreements, so should be considered just for fun ;-)

Most likely Maya will also check for the content hash of the DLL...

https://knowledge.autodesk.com/support/maya-lt/learn-explore/caas/CloudHelp/cloudhelp/2020/ENU/MayaLT-CustomizingMayaLT/files/GUID-DF9366D9-E24B-4A08-88F1-8EE1B78A52F9-htm.html