Edit: This is actually not a solution after all. I am misconstrued my Cube and Spheres ‘Label’ for ‘ID Name’. I am still trying to wrap my head around how to find ID Names in UE5.
Hi I am a complete newbie and this is my first post on the forum, but I am excited to become more engaged with the community. I really the unreal engine 5 UI and am doing the tutorial with the latest preview.
I ran into a issue where I would get the ‘static meshes name’ instead of the ‘actors name’ when I tried running this line of code in UE 5 (shown below)
This is the output I received while running the code (shown below).
I found a simple fix to get the actors name by running “GetActorNameorLabel()” which is shown in the image below.
This is the output I recevied while running the code (shown below).
I tried doing the tutorial in unreal engine 4 and it worked like in the tutorial videos. I hope this helps someone, however I am open to being told what I am doing wrong. I am genuinely curious what changed from UE 4 to UE 5 that causes this. I want to learn if I need to do something else in the engine or to my sphere. Also, if this is the new way to get an actors name in UE 5 or a bug that needs to be fixed in the preview.
I want to post this in the unreal engine forums, but I am a little nervous about asking a question that has already been answered. Please let me know if you think I should post there too.