URRRobotROS2Interface::InitRobotROS2Node(ARRBaseRobot* InRobot)
-> Use InRobot as outer for RobotROS2Node due to its being a ActorComponent, thus its OwnerPrivate could be valid, which is checked in RegisterComponent()
Another one
[2023.08.24-05.15.10:684][637]LogScript: Warning: Script Msg: A null object was passed as a world context object to UEngine::GetWorldFromContextObject().
[2023.08.24-05.15.10:684][637]LogScript: Warning: Last function called:
/Script/RapyutaSimulationPlugins.RRRobotROS2Interface.UpdateJointState
This error happens only in uncooked standalone mode (PIE or packaged works fine)
URRRobotROS2Interface::InitRobotROS2Node(ARRBaseRobot* InRobot)
-> UseInRobot
as outer forRobotROS2Node
due to its being a ActorComponent, thus its OwnerPrivate could be valid, which is checked in RegisterComponent()Another one
-> Use
Robot->GetWorld()