# How can I call ENQUEUE\_UNIQUE\_RENDER\_COMMAND\_ONEPARAMETER in another thread?

**URL:** <https://forums.unrealengine.com/t/how-can-i-call-enqueue-unique-render-command-oneparameter-in-another-thread/335760>\
**Category:** Platform & Builds\
**Tags:** multithreading, unreal-engine, question\
**Created:** [October 19, 2015, 3:34am UTC](https://forums.unrealengine.com/t/how-can-i-call-enqueue-unique-render-command-oneparameter-in-another-thread/335760 "2015-10-19T03:34:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![windywang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@windywang](https://forums.unrealengine.com/u/windywang)\
**Post date:** [October 19, 2015, 3:34am UTC](https://forums.unrealengine.com/t/how-can-i-call-enqueue-unique-render-command-oneparameter-in-another-thread/335760/1 "2015-10-19T03:34:59Z")

</div>

I want to call ENQUEUE\_UNIQUE\_RENDER\_COMMAND\_ONEPARAMETER in another thread(not game thread).  
Sometimes it works, but mostly crashed at:  
void FRHICommandListBase::WaitForDispatch()  
{  
check(IsImmediate() && IsInRenderingThread());//\<\<\<\<\<\<\<\<\<\<\<\<CRASHED HERE  
}

Is there any way to avoid that assert?

---

<div class="post-metadata">

**Author:** ![Arti\_peleg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arti\_peleg](https://forums.unrealengine.com/u/Arti_peleg)\
**Post date:** [August 13, 2019, 7:18am UTC](https://forums.unrealengine.com/t/how-can-i-call-enqueue-unique-render-command-oneparameter-in-another-thread/335760/2 "2019-08-13T07:18:26Z")

</div>

Also have the same issue on 4.21 - any ideas?
