Warning: Illegal TEXT reference to a private object in external package

When I create a variable of type Actor in the level blueprint and try to assign it,
I get the following error. What should I do?

LogProperty: Warning: Illegal TEXT reference to a private object in external package (StaticMeshActor /Game/Level/Main.Main:PersistentLevel.StaticMeshActor_UAID_00BE43B9004C610D02_1225486295) from referencer (Main_C /Game/Level/Main.Default__Main_C).  Import failed...

[quote=“Doraemon231, post:1, topic:1953857, full:true, username:Doraemon231”]hpinstantink
When I create a variable of type Actor in the level blueprint and try to assign it,
I get the following error. What should I do?

LogProperty: Warning: Illegal TEXT reference to a private object in external package (StaticMeshActor /Game/Level/Main.Main:PersistentLevel.StaticMeshActor_UAID_00BE43B9004C610D02_1225486295) from referencer (Main_C /Game/Level/Main.Default__Main_C).  Import failed...

[/quote]

Hello,
The error message you’re encountering indicates that there’s an issue with a reference to a private object in your level blueprint. Let’s break it down:

Illegal TEXT Reference: This part of the message suggests that there’s a problem with a text reference (likely a variable or property name) in your blueprint.
Private Object in External Package: The reference points to a private object (likely an Actor or StaticMeshActor) that resides in an external package (not within the current blueprint).
Referencer and Import Failed: The issue occurs when another object (the referencer, possibly your level blueprint) tries to access this private object, but the import process fails.
Here are some steps to troubleshoot and resolve this issue:

Check References: Look through your level blueprint and any other blueprints that reference the StaticMeshActor named StaticMeshActor_UAID_00BE43B9004C610D02_1225486295. Ensure that the reference is valid and correctly points to the intended object.
Visibility and Access: Make sure that the StaticMeshActor is set to the appropriate visibility (public, protected, or private) and that the level blueprint has proper access to it.
Package and Ownership: Verify that the StaticMeshActor is part of the same package or level as the blueprint that references it. If it’s in a different package, consider moving it to the same package or adjusting ownership.
Compile and Save: After making any changes, compile your blueprints and save the level. Sometimes, recompiling can resolve reference issues.

Hope this will help you.
Best regards,
cheri232cruz

1 Like