Description

This example consists of a simple BP Actor, containing a Collision Sphere and Static Mesh (Sphere). The BP has Simulate Physics Ticked on, the Mass in KG is 1 and collision preset is set to Block All. The Event Graph is reacting to pressing [Space] to call AddForce(0, 0, 8000000), so that the Ball is fired up in the air when pressing space. When using Play In Editor, the Ball is fired up some meters and falling down again. When using Standalone Game Mode or creating a build to play the scene, the ball is just jumping a few centimeters when pressing space. So the AddForce() is behaving differently between the editor and a build.

Steps to Reproduce

Steps to reproduce from attached project sample.[Link Removed]

  1. Open the attached project sample.
  2. Navigate to the maps folder and double click on the PhysicsTestMap
  3. Press PIE
  4. Once loaded, use the space bar key to add force to the sphere actor.
  5. Observe: The resistance of the sphere, and the distance it travels.
  6. Run the Game in StandAlone.
  7. Once loaded, use the space bar key to add force to the sphere actor.

 

Result:  

When using Standalone Game Mode or creating a build to play the scene, the ball is just jumping a few centimeters when pressing space bar.

Expected:

When using Play In Editor, the Ball is launched up some meters and falls down with gentler resistance.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92385 in the post.

5
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.244.25
CreatedApr 23, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022
View Jira Issue