Accidentally deleted capsule component?

Hello I’m pretty new to unreal engine in general, still learning a lot.

I was working on something and seemingly accidentally deleted the capsule component from the player character. I am now getting error messages regarding both the mesh and capsule component (because of blueprint scripts not being able to ‘find’ either, although I still have a mesh), and the character will no longer load in the world.

Is there a way to remedy this? Or do I have to start from scratch? I can’t find a way to fix this problem myself.

I do have a ‘root component’ unlike the character bp I made to compare to the one I messed up. I’m still sort of learning how all of this works, so I’m not really sure what I did or how I did it.

Hello, can you post a screenshot?

I wasn’t aware that (in the ThirdPersonCharacter BP) you could delete the capsule component.

cb3279506c52cd95870ebb4024dbdcdd

Honestly I wasn’t aware you could either, I was under the impression you couldn’t. I’m not really sure what came over me that caused this…

This is the full box, everything in it. No capsule component.

Also I am using a ‘character’ blueprint class from scratch, not the default third person character that comes with the third person setting. Just so that’s clear!

1 Like

Ah, okay, I think that’s why you can delete it. If you used the BP_ThirdPersonCharacter or created inherited children from it, you can NOT delete the capsule. But if you create one from scratch (or a general character class), I suppose you can.

I’ve never encountered this, however, is it impossible for you to insert a capsule component?

I tried re-adding one, both by copying from a fresh character blueprint and by searching it up to ‘add’, neither worked. :frowning: I’m hoping I don’t have to start from scratch here…

Well, just so you know, it’s not called “Capsule Component”, it’s a “Collision Cylinder”.

Analogously, “Camera Boom” is actually called, “Spring Arm”.

EDIT: Pardon me, “Capsule Collision”.

I searched for collision cylinder and there was nothing to add, so I definitely can’t re-add it that way…

Edit
Capsule collision is there but adding it in and using it crashes UE5

1 Like

!!!

Holy moly.

Okay, migrate the project into a fresh project and try again…

If it doesn’t work, let me know.

Okay so migrating into a new project didn’t help, it still errors me out unfortunately.

A fresh character with barebones controls works just fine, so it’s just the one character I messed up it seems.

1 Like

Dam(n).

The fact that it crashed when you added the capsule component worried me.

You can still copy the logic from the Blueprints to a fresh character. Just make sure all your references are where they need to be.

Also, ZIP frequently, so if you do mess up, you can just go to an earlier version:

1 Like

I just started the process of moving everything, there’s a lot to move unfortunately… Thank you so much for the help, I’ll be sure to zip frequently from now on. Wasn’t even aware you could do that!

1 Like