-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Physicist does not appear on repeat visit to north wing #15
Comments
I think this I've found the issue. IssueThe summoning animation is scheduled here. This function makes use of an async function in a forEach loop to tween the camera to the physicist. This async function modifies worldState values after awaiting. Because this function is async though, these changes are not getting saved with the FixTo resolve this, the modification of a worldState value in the async function should be converted to something like: const worldState = world.getState('js-world-state-key');
worldState.northWing.summonAnimFinished = true;
world.setState('js-world-state-key'); This should allow TQ to actually persist the correct worldState values. This MIGHT have additional side effects though since we cannot guarantee if this worldState change will take affect in the appropriate place in the rest of the MigrationPlayers who have encountered this bug can no longer re-trigger the summon animation since they have a truthy value for This value is set synchronously here in the scheduleSummonAnim function. To allow players to re-trigger this animation and actually summon the scientist (and save that data after the fix above) I think we could check for This MAY accidentally trigger on a later level if you trigger an |
Okay, so I wasn't actually able to reproduce this issue the way I expected to above. Letting the summon animation resolve and then quitting the game or leaving the map does not seem to lead to the softlock state. I was able to trigger the softlock my quitting the game after the animation started playing but before it resolved. It seems unlikely that this is what the folks who've gotten stuck in this state were doing. I'm no longer confident in my proposed initial solve for this issue. It doesn't seem like the synchronous nature of setting the worldState is the root cause. Though, I'm not quite sure why that is not also a problem at the moment. I do think the proposed migration fix should hopefully allow users caught in this situation to re-trigger the animation and get out of their soft lock situation. This might have the same issue as the dev fundamentals telescope in allowing the player to initiate multiple animations at once. |
I am still concerned about the underlying cause of this issue. #17 allowed users to get out of the softlock in the North Wing, but I did not successfully identify the root cause of this issue. |
This is a bug reported in Discord:
Something very similar (or just this same bug) was reported last year in discord too:
We discuss this in Discord in this thread.
Problem
The users beat the JS Test Lab in an older version. On return visit to the JavaScript Test Lab, the physicist does not rematerialize. The lasers around the central pit were deactivated.
Questions
twilioquest
commit log since this bug was reported before the authoring tools split out all the content.The text was updated successfully, but these errors were encountered: