Description

When using GetMass on an Actor Blueprint, an error is displayed when Simulate Physics is disabled, but GetMass executes successfully.

Error Message: BP_Actor_80.MaterialSphere MaterialSphere has to have 'Simulate Physics' enabled if you'd like to GetMass.

This was found in 4.18 3709383. Also reproduced in 4.17 3658906 and 4.19 3724570

Steps to Reproduce
  1. Create new blank project
  2. Create Actor Blueprint
  3. Add a Static Mesh Component and make it the root
  4. Add a Static Mesh to the Static Mesh Component
  5. Go to the Event Graph
  6. On begin play, GetMass, Use a print string to get that value.
  7. (Do not enable physics)
  8. Press Play, the mass value is displayed.
  9. End play, error is displayed saying that Simulate Physics needs to be enabled to use GetMass

Expected Result: Either GetMass is not executed when Simulate Physics is not enabled, or no error occurs.
Actual Result: Error displays even though GetMass executes successfully.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

7
Login to Vote

Won't Fix
ComponentOLD - Anim
Affects Versions4.174.184.194.20
Target Fix4.20
CreatedOct 31, 2017
ResolvedApr 17, 2018
UpdatedJun 23, 2018