# Socket doesn't exist in construction script?

**URL:** <https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, Blueprint\
**Created:** [January 29, 2024, 2:35pm UTC](https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575 "2024-01-29T14:35:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaptSamsunite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CaptSamsunite](https://forums.unrealengine.com/u/CaptSamsunite)\
**Post date:** [January 29, 2024, 2:35pm UTC](https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575/1 "2024-01-29T14:35:41Z")

</div>

I’m trying to simply get and attach a static mesh component to a scene component using a socket. I need it to be set up in editor, but when I use the construction script it doesn’t work. Some quick debugging led me to the conclusion that the socket doesn’t exist at that point which doesn’t really make sense. The static mesh is recognized (I can print the display name) but when I run the node “Does Socket Exist”, it returns false. I tried multiple static meshes and am getting the same result.

Is this how sockets work or is this a bug?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/0/0e052df03f9e4ca10a75f32b2c327ac0aef04986.png)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/4/f44aa7795a57814774e0fba5f90687eb7e3f2b0f.png)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/b/bdb81dbb0d2bbf5ce074d713274d141b41d4b705.png)

---

<div class="post-metadata">

**Author:** ![AhoyGame](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ahoygame/32/1194586_2.png) [@AhoyGame](https://forums.unrealengine.com/u/AhoyGame)\
**Post date:** [January 13, 2025, 9:14pm UTC](https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575/2 "2025-01-13T21:14:08Z")

</div>

Having this same problem. Which engine version are you using out of interest?

---

<div class="post-metadata">

**Author:** ![CaptSamsunite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CaptSamsunite](https://forums.unrealengine.com/u/CaptSamsunite)\
**Post date:** [January 14, 2025, 1:32pm UTC](https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575/3 "2025-01-14T13:32:11Z")

</div>

I think this was back when I was using UE5.2 with my project but I’m not 100% certain. I’ve accepted the short coming in my game as it honestly doesn’t create too much extra work.

Still does not make sense that the information is obviously already known in the static mesh viewer, so why does it not have access to this information on the construction script? Let me know if you find something else out though!

---

<div class="post-metadata">

**Author:** ![TheWolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thewolf/32/1036665_2.png) [@TheWolf](https://forums.unrealengine.com/u/TheWolf)\
**Post date:** [August 30, 2025, 12:31am UTC](https://forums.unrealengine.com/t/socket-doesnt-exist-in-construction-script/1651575/4 "2025-08-30T00:31:16Z")

</div>

Not sure if it is relevant, but I just found this thread after hitting an issue where a BP extended from Actor does not reliably get accurate socket location from a skeletal mesh, but a BP extended from Character does.
