Setting box extent to a physics enabled box collision on runtime results in a crash.
Steps to reproduce:
1.Create a blueprint with a box collision as a root component and set the extents to 50x50x50.
2.Enable simulate physics for the box.
3.Place the blueprint in the level. (Disable gravity for the box so it doesn't fall or create a plane with simple collision and place the blueprint on top.)
4.Create a graph to call SetBoxExtent (event tick or on key press) with values other than the original.
5.Press play and the game crashes upon calling SetBoxExtent.
The game crashes only if the box is set to simulate physics.
Thank you for the additional piece of information. I was able to reproduce the crash and have entered a report for it that you can follow here: https://issues.unrealengine.com/issue/UE-44957 . As a note, there is a warning when setting the box collision component to simulate physics that the Collision Enabled setting is incompatible. Changing this setting for the component to Physics Only or Collision Enabled (Query and Physics) will fix the warning / prevent the crash.
answered May 12 '17 at 02:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here