Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

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?

Product Version: UE 4.14
more ▼

asked Feb 10 '17 at 07:17 PM in Bug Reports

avatar image

401 11 8 25

avatar image Rudy Q ♦♦ STAFF Feb 16 '17 at 06:29 PM

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?

avatar image Rudy Q ♦♦ STAFF Feb 20 '17 at 07:41 PM

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.


avatar image DigitalMage Feb 20 '17 at 10:19 PM

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.

avatar image DigitalMage Feb 20 '17 at 10:26 PM

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.


avatar image Rudy Q ♦♦ STAFF Feb 21 '17 at 04:07 PM

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?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Feb 22 '17 at 12:08 AM

avatar image

401 11 8 25

avatar image Rudy Q ♦♦ STAFF Feb 23 '17 at 03:45 PM

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.

avatar image DigitalMage Feb 23 '17 at 03:53 PM

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!

avatar image BrianWindover Jul 25 '17 at 05:13 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question