# UE 5.4 Packaging issue on Mac with custom blueprint nodes created in Python

**URL:** <https://forums.unrealengine.com/t/ue-5-4-packaging-issue-on-mac-with-custom-blueprint-nodes-created-in-python/1876992>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [May 28, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/ue-5-4-packaging-issue-on-mac-with-custom-blueprint-nodes-created-in-python/1876992 "2024-05-28T13:06:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ap322](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ap322](https://forums.unrealengine.com/u/ap322)\
**Post date:** [May 28, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/ue-5-4-packaging-issue-on-mac-with-custom-blueprint-nodes-created-in-python/1876992/1 "2024-05-28T13:06:22Z")

</div>

Hi there, I am getting the following errors when I try packaging my game in UE 5.4.1 in Mac.

```auto
LogBlueprint: Error: [Compiler] In use pin <Unnamed> no longer exists on node Point Generator . Please refresh node or break links to remove pin. from Source: /Game/bp2.bp2

UATHelper: Packaging (Mac): LogInit: Display: LogBlueprint: Error: [Compiler] In use pin Return Value no longer exists on node Point Generator . Please refresh node or break links to remove pin. from Source: /Game/bp2.bp2

UATHelper: Packaging (Mac): LogInit: Display: LogBlueprint: Error: [Compiler] Could not find a function named "point_generator" in 'bp2'.

UATHelper: Packaging (Mac): LogInit: Display: LogBlueprint: Error: [Compiler] The current value of the ' Array generated from expanding Get (a copy) ' pin is invalid: Array inputs (like 'Target Array') must have an input wired into them (try connecting a MakeArray node). from Source: /Game/bp2.bp2

```

This is my custom code -

```auto
import unreal
import numpy as np

@unreal.uclass()
class MyBPFunctionLibrary(unreal.BlueprintFunctionLibrary):

    @unreal.ufunction(ret=unreal.Array(unreal.Vector), static=True, meta=dict(Category="Numerical Operations", DisplayName="point_generator"))
    def point_generator() -> list[unreal.Vector]:
        points = np.random.uniform(low=[-5, -5, -5], high=[5, 5, 5], size=(10, 3))
        unreal_points = [unreal.Vector(point[0], point[1], point[2]) for point in points]
        return unreal_points

unreal.log("MyBPFunctionLibrary was loaded")

```

In my node, I initially tried with 2 input pins, in the current code version I dont have any input pins in my custom node. Still, I am getting the above errors 1 and 2 which is strange.

I tried recompiling, refreshing, and printing out the functions in my blueprint(bp2, and it is showing my function there). I have also enabled python scripting plugin.

I am working with UE 5.4.1 in Macbook pro with Python 3.11.

It would be great if you can help me to understand and resolve this issue. Thanks in advance.
