Page 1 of 1

TopDown Engine Integration - Issues with Pause

Posted: Sun May 18, 2025 11:23 pm
by nickg84
Hello,

I'm sure this is a super easy fix. I followed the setup for MM TopDown Engine + Inventory, which included adding the component "Pause TopDown" on the Quest Machine prefab.

When going into the journal, it pauses and works, but when I leave the journal, I no longer have control of my character (can't move or do any actions). It doesn't seem to unpause the game.

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 8:15 am
by Tony Li
Hi,

The PauseTopDown script listens for two messages from Quest Machine's message system: "Pause Player" and "Unpause Player".

Quest Machine's dialogue UI and journal UI send these messages when they open and close.

First please check that opening and closing the journal in the integration's example scene "TopDown Engine Example" properly pauses and unpauses the player. This will verify that the integration is working correctly.

Then check your journal UI. On the UnityUIQuestJournalUI component, make sure the Open Message is set to "Pause Player" and the Close Message is set to "Unpause Player".

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 10:05 am
by nickg84
Hello,

Thank you for the reply. I tested the integration example, and also started a fresh project with only TopDown and Quest, and it does look like the problem is still happening there. What's happening is the game properly pauses/unpauses time, but I lose control of the character after leaving the journal. So time resumes, but I can no longer move around or do anything with the Koala controller.

Also, the QuestJournalUI does have the proper Open/Close messages - just left those at default.

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 10:14 am
by Tony Li
Hi,

What versions of TDE and Quest Machine are you using?

What input device are you using to control the player? Keyboard+mouse? Joystick? Touch?

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 10:21 am
by nickg84
I'm using TDE v4.3, and Quest v1.2.52. Using K+M (haven't tested gamepad or touch).

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 3:15 pm
by Tony Li
Hi,

I tested these steps, and I can still move the koala player character after closing the journal UI or quest dialogue UI:

1. Created a new, empty Unity 6.0.49f1 project with built-in 2D template.

2. Imported TDE 4.3.

3. Imported Quest Machine 1.2.52.

4. Imported 4 integration packages:
  • Plugins / Pixel Crushers / Common / Inventory Engine Support.unitypackage
  • Plugins / Pixel Crushers / Common / TopDown Engine Support.unitypackage
  • Plugins / Pixel Crushers / Quest Machine / Inventory Engine Support.unitypackage
  • Plugins / Pixel Crushers / Quest Machine / TopDown Engine Support.unitypackage
5. Ticked the Quest Machine Welcome Window's USE_PHYSICS2D checkbox.

6. Opened the integration's "TopDown Engine Example" scene and played it.

7. Moved. Pressed "J" to toggle the journal. Moved more. Talked to NPC. Moved more. (All with keyboard + mouse.)

Did I miss any steps you might have done?

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 8:43 pm
by nickg84
Appreciate you helping work through this with me.

I started another fresh install in Unity 6.0.49f1, and followed those steps exactly in that order just to be safe. One thing I did do that isn't mentioned is on the Pause TopDown component, I checked 'Pause Top Down During Pause' (this is unchecked when first imported into the project). If I leave that unchecked, everything works fine, but the timescale won't actually pause while in the journal which I do need. So when I check that option, everything pauses as it should, but then I don't have control after leaving the journal. The issue is still happening on a fresh project.

Did you check 'Pause Top Down During Pause' during your test? If so, and everything still worked, then something weird is happening on my end, or some sort of oversight I need to look into.

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 9:31 pm
by Tony Li
Thanks! A method changed in TDE 4.x. Here's a fix:

PixelCrushers_TDEPatch_2025-05-19.unitypackage

This will also be in the next regular QM update.

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 10:27 pm
by nickg84
Perfect, works great now! Thanks again!

Re: TopDown Engine Integration - Issues with Pause

Posted: Mon May 19, 2025 10:46 pm
by nickg84
Oh, super quick: does the 'Pause TopDown During Conversations' component for the Dialogue integration need to be updated as well?