Unreal might be reading size for address?

Hi there, I apologize if I’m getting something wrong or missing something obvious, I’ve just running into an extremely strange error and am a junior programmer.

I’m using C++ to create a game wherein a need a player and an arm as separate objects. They are both custom C++ classes. I didn’t originally intend to make the arm its own thing, but thats what seemed to work.
I’ve been running into a lot of issues with it but the most confounding one so far is an access error at 0x0…04xb0, which I know translates to 1200. It happens when I try to access a variable or a function held by the arm object. What’s interesting to me is when I hover over the variable type definition, it says its size is also 1200. Is there any way this thing is reading the size as the address?

I’m using Unreal 5.4.4 and Jetbrains Rider for my IDE. I’ve attached some screenshots as well. Any help would be extremely appreciated!!

You can’t do GetDefaultSubobjectByName in the constructor (AcrabController). It won’t exist at that time.

You have a few options:

Option 1: Do another CreateDefaultSubobject to make the arm in the constructor. You can then edit that component in blueprint if you want.

If you have to create it in blueprint:
Option 2: in BeginPlay you can cache the arm component into your member variable like you’re trying to do there (but using the “normal” Get or Find Component functions, not GetDefaultSubobject)
Option 3: don’t cache and just get it inside each of the functions that wants to do thing to it.