# Even with FCriticalSelection locks I'm getting data race errors. Any suggestions?

**URL:** <https://forums.unrealengine.com/t/even-with-fcriticalselection-locks-im-getting-data-race-errors-any-suggestions/1920841>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [June 29, 2024, 4:31pm UTC](https://forums.unrealengine.com/t/even-with-fcriticalselection-locks-im-getting-data-race-errors-any-suggestions/1920841 "2024-06-29T16:31:24Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 30, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/even-with-fcriticalselection-locks-im-getting-data-race-errors-any-suggestions/1920841/9 "2024-06-30T14:41:24Z")

</div>

For flying try this:

> [@DoN's 3D-Pathfinding / Flying-AI system (with full source!)](https://forums.unrealengine.com/t/dons-3d-pathfinding-flying-ai-system-with-full-source/57271):
>
> Proven in Production! Watch this plugin power Drunk On Nectar, which is in EA on Steam! watch?v=2rgBjTuOLlI watch?v=6c0GtCIB\_w4 All the flying creatures in this video use this plugin to navigate uber-dense foliage (all of which has full collision!) which would otherwise be very hard to navigate via other means. Hope you enjoying watching it slight_smile-- \*Original Post:\* Overview: I'm excited to finally share my free plugin for 3D Pathfinding in Unreal with the community! This is a voxel based d…

I’ve tried it and even have a multi-threaded version I converted somewhere on my hd if I remember right.

---

_[View the full topic](https://forums.unrealengine.com/t/even-with-fcriticalselection-locks-im-getting-data-race-errors-any-suggestions/1920841)._
