Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.0a4
2017.4.0f1
Issue ID
1022611
Regression
Yes
MovePosition stops working when used simultaneously with transform.Rotate
How to reproduce:
1. Open attached project ("RigidBody MovePosition.zip")
2. Enter Play mode with nothing selected in Hierarchy window
3. Press space to rotate "Player" object
4. Observe the Game View
Expected result: "Player" object can move and rotate at the same time
Actual result: "Player" object stops moving when rotating
Reproducible with: 2017.2.0a4, 2017.2.2p3, 2017.4.1f1, 2018.1.0f1, 2018.2.0a9
Not reproducible with: 5.6.5p3, 2017.1.3p3, 2017.2.0a3
Notes:
Also, MoveRotations stops working when used simultaneously with transform.Rotate
Workarounds:
- If you select a GameObject, in Hierarchy, which has a Collider and Gizmos(Move Tool or Camera icon) then MovePosition works with transform.Rotate.
(MovePosition must be in FixedUpdate and transform.Rotate must be in LateUpdate or Update for the workaround to work)
- If there is ParticleSystem in Scene then MovePosition works with transform.Rotate.
(MovePosition must be in FixedUpdate and transform.Rotate must be in LateUpdate or Update for the workaround to work)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
This is a duplicate of issue #984547