# Assert in packaged development build 4.14.3 - IsInGameThread(), particle component, pausing

**URL:** <https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569>\
**Category:** FX\
**Tags:** assertion-failed, unreal-engine, packaged-game, bug-report, question\
**Created:** [February 10, 2017, 7:17pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569 "2017-02-10T19:17:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigitalMage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalMage](https://forums.unrealengine.com/u/DigitalMage)\
**Post date:** [February 10, 2017, 7:17pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/1 "2017-02-10T19:17:13Z")

</div>

We get a consistent crash whenever we try to pause the game (UGameplayStatics::SetGamePaused), but only in a packaged build. It’s an oculus VR game.

The assert is in ParticleComponents.cpp line 4869 check(IsInGameThread())  
The callstack shows the parent that it’s in UParticleSystemComponent::SendRenderTransform\_Concurrent.

This only happens when the game is paused, and none of the particle components are TickWhenPaused (mentioned in a previous bug).

Any ideas on how to track this down?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 16, 2017, 6:29pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/2 "2017-02-16T18:29:24Z")

</div>

Hello DigitalMage,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
3. Could you provide screen shots of any blueprint/settings that may be involved with this issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 20, 2017, 7:41pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/3 "2017-02-20T19:41:51Z")

</div>

Hello DigitalMage,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks,

---

<div class="post-metadata">

**Author:** ![DigitalMage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalMage](https://forums.unrealengine.com/u/DigitalMage)\
**Post date:** [February 20, 2017, 10:19pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/4 "2017-02-20T22:19:34Z")

</div>

Sorry, it took me some time to put together a build.

It IS reproduceable in a clean project (I had to track down what was causing it)

(1) Create a camera with an attached scenecapture2D (create an arbitrary render target for the capture to point to). Mark the scenecapture2D as tickable when paused.  
(2) Call the SceneCapture2D-\>Capture() every tick from another object (that’s also tickable when paused). Set the tick to “Physics Update”  
(2) Attach a particle component to an object in the scene (I used P\_Fire from the sample sidescroller game, attached to the player)  
(3) Hook up an input event to SetGamePaused  
(3) Play the game. Press Pause. Game crashes in one of two places.

---

<div class="post-metadata">

**Author:** ![DigitalMage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalMage](https://forums.unrealengine.com/u/DigitalMage)\
**Post date:** [February 20, 2017, 10:26pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/5 "2017-02-20T22:26:58Z")

</div>

Ok,- three more notes. I was in a VR project, and this only crashes with a Development Packaged build. It works fine in the editor, and in shipping it skips the asserts.

I identified the main culprit- setting the object that does the Scenecapture2D-\>Capture() to the physics update tick. Somehow we had bumped that. When I put it back to pre-physics it works.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 21, 2017, 4:07pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/6 "2017-02-21T16:07:54Z")

</div>

I followed the information above and I was unable to reproduce this issue on our end. I noticed that you said you have reproduced the issue in a clean project. Would it be possible for you to provide that project so that I could take a closer look?

---

<div class="post-metadata">

**Author:** ![DigitalMage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalMage](https://forums.unrealengine.com/u/DigitalMage)\
**Post date:** [February 22, 2017, 12:08am UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/7 "2017-02-22T00:08:34Z")

</div>

What is the right way to upload the project? It uses sample content so it’s 2.5gb \>\<.

I did figure out what the problem was anyways- the blueprint that called SceneCapture2D-\>CaptureScene() was set to tick in the Physics tick in our project (and I copied it to the sample project). As soon as I moved it back to prephysics all worked properly.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [February 23, 2017, 3:45pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/8 "2017-02-23T15:45:29Z")

</div>

If you would like to provide the project you could do so by zipping it down and providing a link via google drive or drop box.

---

<div class="post-metadata">

**Author:** ![DigitalMage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DigitalMage](https://forums.unrealengine.com/u/DigitalMage)\
**Post date:** [February 23, 2017, 3:53pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/9 "2017-02-23T15:53:49Z")

</div>

I think having it tick during an unsafe time (Physics tick) was the problem, so I doubt this is a bug for you guys to fix. Thanks for your time!

---

<div class="post-metadata">

**Author:** ![BrianWindover](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BrianWindover](https://forums.unrealengine.com/u/BrianWindover)\
**Post date:** [July 25, 2017, 5:13pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/10 "2017-07-25T17:13:27Z")

</div>

We are having the same issue but for us we are calling CaptureScene() when we get a hit event.

---

<div class="post-metadata">

**Author:** ![AgentMilkshake1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgentMilkshake1](https://forums.unrealengine.com/u/AgentMilkshake1)\
**Post date:** [September 27, 2019, 1:27pm UTC](https://forums.unrealengine.com/t/assert-in-packaged-development-build-4-14-3-isingamethread-particle-component-pausing/384569/11 "2019-09-27T13:27:47Z")

</div>

@BrianWindover - did you ever resolve this, currently got the same problem in 4.21
