EdyJ / blender-to-unity-fbx-exporter

FBX exporter addon for Blender compatible with Unity's coordinate and scaling system.
MIT License
947 stars 98 forks source link

Blender 2.90 / 2.83 - Doesn't show up in addons list #9

Closed GlobalHive closed 3 years ago

GlobalHive commented 3 years ago

I tryed to install the addon as described on the front page, the console tells me it has been installed. It got copyed indeed but i can't activate it, since its not showing up inside blender in the add-ons tab

EdyJ commented 3 years ago

I've just tested both 2.83 and 2.90 and the add-on shows properly in the list, can be activated and works properly. I'd recommend you to reset your Blender setup and try again.

enquel commented 3 years ago

Same here. B 2.92 Beta

MaximillianCat commented 2 years ago

Same for 2.93.4. Issue persists on a Steam install or a standalone install.

Plugin install function does run, places files in C:\Users\[USER]\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\blender-to-unity-fbx-exporter-master

However it fails to appear in the plugin manager.

Same behavior when trying to roll back to 2.83.

Log window verifies it completed the plugin install: Modules Installed () from 'E:\Downloads\blender-to-unity-fbx-exporter-master.zip' into 'C:\Users\[USER]\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons'

MaximillianCat commented 2 years ago

As a crude workaround, I opened blender-to-unity-fbx-exporter.py in Blender's scripting editor and manually ran it. It does trigger from there to export an FBX. So something isn't hooking it into the plugin system properly. image image

MaximillianCat commented 2 years ago

Solved the problem. Downloading the python script from the link in the README can result in downloading the HTML formatted github page. Blender will say it installed it, but it actually can't process it. If you download the source as a zip and tell it to install the zip, it will also say it installed but silently fail. If you open the source zip, extract the .py file, and import that, then it will finally install cleanly.

EdyJ commented 2 years ago

Are you trying to install the zipped github repository? That's not how it should be installed.

Modules Installed () from 'E:\Downloads\blender-to-unity-fbx-exporter-master.zip ' into 'C:\Users[USER]\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons'

As the install instructions specify, you must install the file blender-to-unity-fbx-exporter.py. Do not try to install the zipped repository.

MaximillianCat commented 2 years ago

This was a simple issue of not paying close attention to what file I was actually trying to install, combined with Blender not actually throwing any errors to explain why it wasn't adding the plugin. I can see how general users might make this mistake.

Long story short, thank you for this very useful plugin, and reading my attempts to solve the issue.

EdyJ commented 2 years ago

Downloading the python script from the link in the README can result in downloading the HTML formatted github page

Understood, agreed that this can be confusing. Now the link points to the RAW .py file, so it should always work correctly.

MaximillianCat commented 2 years ago

Thank you kindly for updating the readme and for your effort in making this plugin. This will save me time and headache in building some assets. Have a lovely day.

EdyJ commented 2 years ago

For the record, at the time of writing this I'm using the plugin in Blender 2.92 and the release notes for 2.93 don't report any compatibility-breaking changes in the Python API.