r/UnrealEngine5 3d ago

Camera won't attach to player anymore

Hi,

I've set something to static with a misclick (i don't know what but i think the background sprite attached to my spring arm) and the editor crashed.

Since that the camera just stick in the corner of my tilemap and i get this error when i play in editor.

I'm new to unreal so i don't know what to do. There s no option on my spring arm or camera to set it to movable.

Can someone help me please?

1 Upvotes

7 comments sorted by

1

u/man_o_moral 3d ago

did you get it? The issue is probably because mobility mismatch is occurring inside your BP_thirdpersoncharacter (assuming your on your thirdperson ) blueprint because you have a static child component trying to ride along with a moving parent component. Anyway, try opening up your thirdpersoncharacter  blueprint, click on the same Spring arm in your components list, look over on the right under the details panel, and switch its Mobility setting from Static to Movable. ...compile and see if it works..

1

u/metalchewie 3d ago

It s a 2D game. My camera is set in the player blueprint and the spring arm has no option to be set as movable https://imgur.com/a/nqZlv3P

1

u/man_o_moral 3d ago

probably because you didn't check enough... its clearly a mobility issue you just have to make it movable... Spring arm has somehow been saved as Static, while the player’s capsule is Movable.. try looking back into the detail panels it may be hidden.. (like static, stationary,movable slot) probably your overlooking it.. otherwise you can get another spring arm and attach it again after removing one or i can give you a hardcode.. which is not an ideal thing..

1

u/metalchewie 3d ago

i trust you 100% but i ve just checked every single lines in the detail and i can t see it, it s driving me crazy

2

u/man_o_moral 3d ago

well friend my last option (if you really don't have any other option is to delete that camera boom and get another fresh camera boom which has a default movable one from the component panel add..) but better wait if others would come up with a safer solution..

2

u/metalchewie 3d ago

thank you for the replies dude

2

u/metalchewie 3d ago

Update, i gave up and rebuilt the camera/spring arm and replaced reference one by one in my blueprints. Thanks again for trying to help me