# Physics constraint component behaves unexpectedly on actors in always-loaded sub-levels

**URL:** <https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410>\
**Category:** World Creation\
**Tags:** physics-constraint, unreal-engine, bug-report, Blueprint, question\
**Created:** [December 2, 2014, 11:50pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410 "2014-12-02T23:50:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_76ae4db4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_76ae4db4](https://forums.unrealengine.com/u/anonymous_user_76ae4db4)\
**Post date:** [December 2, 2014, 11:50pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/1 "2014-12-02T23:50:11Z")

</div>

Following on from this answers thread:

> **[Physics constraint component behaves unexpectedly on rotated actors in scene](https://forums.unrealengine.com/questions/139467/physics-constraint-component-behaves-unexpectedly.html)**
>
> Using Unreal Engine 4.5 blueprint, I’ve created a dumpster physics prop with a left and right lid attached by a hinge. It has 3 static meshes (dumpster body, left lid, right lid), and 2 physics constraint components holding the lids onto the body...

I have got physics constraint components working as expected for actors placed at arbitrary angles by integrating the following master commit into our local engine:

[https://github.com/EpicGames/UnrealEngine/commit/7e4fd0faef1cdf2a6885730a900127ad05cd93ab](https://github.com/EpicGames/UnrealEngine/commit/7e4fd0faef1cdf2a6885730a900127ad05cd93ab)

Now everything works great and I can rotate + scale dumpsters into a level and it all works as expected. The lids flap around within the angular constraints I have defined.

However, if I try and move a dumpster into an always-loaded sub-level, the constraint doesn’t initialize properly again. I took a look through the master branch to see if there was a related fix, but nothing showed up.

Here’s a video showing the dumpster blueprint setup (3 static meshes + 2 physics constraints) and demonstrating the dumpsters working in the main level, and not working in the sub-level:

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [December 3, 2014, 7:57pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/2 "2014-12-03T19:57:56Z")

</div>

Hi sds-,

I was able to reproduce what you are seeing and I have entered it as JIRA UE-6186 in out tracking software. Our developers will be looking into it further.

As for a workaround, I don’t have one for you right now. It only happens in an Always Loaded level. If the level is streamed in instead it works correctly. It’s very strange behavior.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![Theodus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Theodus](https://forums.unrealengine.com/u/Theodus)\
**Post date:** [March 25, 2016, 10:24pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/3 "2016-03-25T22:24:46Z")

</div>

Is there an update on this issue? My team has run into a similar issue. When actors using the Physics Constraint Component are in the persistent level they behave fine (see the box on the right in the attached image), but when in a sub level the pivot and swing behaviors act bizarrely (see the box on the left).

Any update would be tremendously helpful!

![83885-ue4hingeissue.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/a/39a3a2e5b7d7a35aaa3c9e1d4dd543f6a19a38fb.png)

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [March 28, 2016, 12:29pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/4 "2016-03-28T12:29:17Z")

</div>

Hi Theodus,

This has been fixed internally but will not be included in the 4.11 build, so you will see it in a future update.

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [June 8, 2016, 9:41pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/5 "2016-06-08T21:41:24Z")

</div>

As of 4.12.1 this isn’t fixed. Do you think it will make it in a later version of 4.12? Is there a possible work around yet? Sorry to ask so many questions but physics constraints are effectively useless right now.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_76ae4db4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_76ae4db4](https://forums.unrealengine.com/u/anonymous_user_76ae4db4)\
**Post date:** [June 9, 2016, 12:35am UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/6 "2016-06-09T00:35:28Z")

</div>

Hi sandford87, the workaround we used is to simply place the objects in the main level rather than in a sublevel. Not a pretty solution (especially for organisation and reusability), but at some point we had to ship our game. I assure you this wasn’t the dirtiest hack we made, haha.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [June 9, 2016, 5:57pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/7 "2016-06-09T17:57:58Z")

</div>

Hi sanford57,

The JIRA I mentioned above was fixed in 4.12. I just tested this in 4.12.2 but it is working properly on my end. Here is what I did:

- Created a BP actor

- Add 2 StaticMesh components & a PhysicsConstraint

- Set the constraint to constrain both StaticMesh components

- Added this actor the the Persistent Level and another to a newly created ‘Always Loaded’ level

- PIE

Can you try that in a new blank project and see if the issue still happens for you?

If not, what are the exact steps you are using?

---

<div class="post-metadata">

**Author:** ![Roshondas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Roshondas](https://forums.unrealengine.com/u/Roshondas)\
**Post date:** [June 21, 2017, 12:13pm UTC](https://forums.unrealengine.com/t/physics-constraint-component-behaves-unexpectedly-on-actors-in-always-loaded-sub-levels/300410/8 "2017-06-21T12:13:57Z")

</div>

Change " ‘Always Loaded’ level" to “load streaming level” in blueprint". Some of the constraints will work, some of them not. In standalone is always worse.
