Download

Latency when casting to two blueprints and array parsing

Hi I am taking in an external reading of two sensors and parsing them into an array so that they can be split up.
These readings are then being cast to two different blueprints.
I am getting some latency and I was wondering if casting to more than one blueprint and/or array parsing can lead to slower processing ?
I’ve attached a screenshot of the blueprint - any feedback would be great.
cast.jpg

Hi - I just realised that the latency was being caused by a delay written into my sensor script.
Unfortunately when I remove the delay Unreal can’t seem to handle the incoming data speed and crashes frequently.
Anyone have any idea on how to keep external code ‘delay free’ to remove unwanted latency but at such a rate that Unreal can manage it ?
I have a decent pc spec so I don’t think its my processor.