Repository navigation
Conversation
…ery later dialog (NPCs turned to the hero but said nothing) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Grabbing a bed (or any mob) again while its dialog is open no longer breaks every later dialog.
SLEEPABIT_S1) hangs the dialog box on a dialog anchor next to the mob. A second grab started a new mob dialog. In VR a grab fires repeatedly, so this happened after 1.2 s in the playtest.PrepareMobDialogdestroyed the old anchor, and the open dialog box with its option items went with it.NullReferenceExceptioninVRDialog.ClearDialogOptions: when loading a game, and at the next NPC (G2 Bartok turned to the hero and held him, but showed no choices and said nothing).DialogService.IsBusy, checked inMobInteractionService.HandleMobGrab).PrepareMobDialogcloses an open dialog before it drops the old anchor.finally, and the flag would have blocked every mob.Why
Playtest log (G2, PC build):
[MobDialog] Hero action StartProcessInfos failed: Object reference not seton every grab of the bed after the first one, thenStartProcessInfos of Bartok (440) threwwith the stack inVRDialog.ClearDialogOptions.How to test manually
Tested in the editor: two grabs of a bed in a row, the second is ignored, the options stay intact, "END" closes them and the next grab opens them again. Not tested in a build or with a headset yet, and nothing on Quest 2 or Quest 3 standalone.
Save/load
Nothing saved. Loading during a mob dialog now closes it cleanly.
Known gaps / follow-ups
IsInDialogcan stay true and mobs stay blocked until the next dialog ends. Not seen, but possible.