# Linetrace on multiple threads

**URL:** <https://forums.unrealengine.com/t/linetrace-on-multiple-threads/427622>\
**Category:** C++\
**Tags:** linetrace, multithreading, unreal-engine, question, CPP\
**Created:** [June 18, 2018, 10:45am UTC](https://forums.unrealengine.com/t/linetrace-on-multiple-threads/427622 "2018-06-18T10:45:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michel\_Nijland](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Michel\_Nijland](https://forums.unrealengine.com/u/Michel_Nijland)\
**Post date:** [June 18, 2018, 10:45am UTC](https://forums.unrealengine.com/t/linetrace-on-multiple-threads/427622/1 "2018-06-18T10:45:52Z")

</div>

Currently I am trying to use line traces on multiple threads but sometimes it is breaking on:

TArray Tags = Hitresult-\>GetComponent()-\>ComponentTags

Could this be because of the multiple threads accessing the HitResults?
