EpicGamesExt / BlenderTools

Blender addons that improve the game development workflow between Blender and Unreal.
https://epicgamesext.github.io/BlenderTools/
MIT License
2.76k stars 49 forks source link

Send to Unreal - init() got an unexcepted keyword argument 'headers', file unreal.py, line 912 #553

Closed Lud04 closed 1 year ago

Lud04 commented 1 year ago

Code block related to the error (unreal.py, line912) v

@staticmethod
    def directory_exists(asset_path):
        """
        Checks to see if a directory exist in unreal.

        :param str asset_path: The path to the unreal asset.
        :return bool: Whether or not the asset exists.
        """
        # TODO fix this when the unreal API is fixed where it queries the registry correctly
        #  https://jira.it.epicgames.com/browse/UE-142234
        # return unreal.EditorAssetLibrary.does_directory_exist(asset_path)
        return True
james-baber commented 1 year ago

Hey @Lud04 we have a limited number of various unreal blender versions we do testing with. So in the release notes if it says tested against version x.x then that is all the we can guarantee. There was some unreal python API changes when we went from 4 to 5.

This I believe is the last release we tested against 4. https://github.com/EpicGames/BlenderTools/releases/tag/20220405224835

In the future we'd like to increase our testing and support for older versions, but don't have to cycles to do so right now. So I think your best bet right now is to upgrade your project to 5 or grab and older release of send2ue

Lud04 commented 1 year ago

Oh ok, thanks for the help! I'll stick to older versions of the plugin then.