Calling Set Constrained Components in Construction script makes joint look correct while in editor, in my example you can see a red and line connecting two capsules, but when starting game connection disappears. If Set Constrained Components is called in BeginPlay instead it works while in game, but no connection is shown in editor. So it would seem that when game is started joint is destroyed for some reason. If called both in Construction Script and BeginPlay it exists both while editing and play, so configuration of joint should not be problem.
Link for simple test project [ConstraintError][1]
I’ve also experienced some issues with Set Constraint Reference Position, but I have nothing concrete there as of yet.
Forgot to mention, pair of capsules closer to screen has Set Constrained Components called in Construction script, while other pair has it called in BeginPlay.
Thank you for report. This is a known issue that was originally reported here. It is logged as JIRA UE-7878 and it is still being investigated by our developers.
current workaround is to set Component Names manually.
Ah, managed to miss that post for some reason. Setting names manually in Add Physics Constraint Component Call doesn’t work if you have a dynamic amount of constraints and components to constrain, or am I missing something? Anyhow, linking things in BeginPlay works for now. Managed to track down another issue I was having but I’ll create a new post for that.
Hey there devs. Hope you haven’t forgotten about this issue. Because I can’t see it in known issues list of any version other than 4.7 you have linked. Hope it gets fixed soon. Just loving UE4(Epic) and don’t want to see any issues
Thanks DevFelix for hint about BeginPlay. I was going cazy about what to do.