Crash when setting Actor location in Class Blueprint

Hi guys,

what I wanted to do is to get the reference of the actor I’m hitting in the level through single line trace in MyCharacter Blueprint, then send it to an “Inventory” Class Blueprint through an Interface message which will update its location and rotation. The problem is, when execution hits the Set Actor Location and Rotation node in the Inventory class, the Editor stops working. I’m pretty sure the problem is related to the static mesh actor reference I’m passing to the Inventory instance because once I change the target for the Set Actor Location and Rotation node (to “self”, for example) everything else works fine. I even checked that the actor reference is not null and its mobility is set to movable. Any ideas?

Thanks in advance! :slight_smile:

Turns out that setting its rotation and scale is not a problem, indeed I can safely use both Set Actor Rotation and Set Actor Scale 3D nodes.