diff --git a/client/ayon_core/hosts/unreal/plugins/load/load_animation.py b/client/ayon_core/hosts/unreal/plugins/load/load_animation.py index 286e7f94df..4199469a6e 100644 --- a/client/ayon_core/hosts/unreal/plugins/load/load_animation.py +++ b/client/ayon_core/hosts/unreal/plugins/load/load_animation.py @@ -254,6 +254,8 @@ class AnimationFBXLoader(plugin.Loader): path = self.filepath_from_context(context) libpath = path.replace(".fbx", ".json") + master_level = None + # check if json file exists. if os.path.exists(libpath): ar = unreal.AssetRegistryHelpers.get_asset_registry()