Getting “attempting to create a joint between objects that are both static. No joint created” when trying to connect two static meshes thru a constraint. Everything is set to movable, so I don’t know why it’s telling me both objects are static. (???) Is there a fix for this?
I kept getting the same error, I assume its a bug because of the many posts about previous bugs with these warnings. I have like 25 doors using physics constraints so if was quite annoying to get all these warnings.
I solved it by moving this line from the constructor to begin play:
PhysicsConstraint->SetConstrainedComponents(Mesh, NAME_None, nullptr, NAME_None);
Works until bug is fixed
I am getting the same error, though it only occurs the first time the play button is pressed after opening the Unreal Engine editor. After that, all constraints work every subsequent attempt to play the game. I have setup my static mesh components and physics constraint in the constructor, and connected the components using “SetConstrainedComponents” in BeginPlay.
Do you know why this happens and how I can fix it? UE5.1.