Skip to content
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

Bug: Attempting to pickup (+use) an prop, whilst holding another prop, results in the held prop becoming bugged out. #1316

Open
Rip-Rip-Rip opened this issue Dec 31, 2024 · 0 comments
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.

Comments

@Rip-Rip-Rip
Copy link
Member

Rip-Rip-Rip commented Dec 31, 2024

Describe the bug

If you attempt to pickup (+use) an prop, whilst you are currently holding another prop, the held prop will enter a bugged out state, where it is pratically frozen in place, and no amount of Wake or EnableMotion inputs can free it.

From my testing, this can happen with any classname of physics prop (I've tested prop_weighted_cube, prop_physics, prop_physics_override, npc_portal_turret_floor and npc_security_camera (detached variant).

In the turret's cases specifically, their animations + sfx act as if they're still picked up whilst in the bugged state, so my guess as to why this bug is occuring is that the pickup isnt corrently being uninstantiated, if that makes sense.

image
(Image showcases a prop_physics, and a prop_physics_override both in the bugged state)

I understand this is an incredibly niche bug, and one that likely wouldn't come about in normal gameplay, however since I've ran into it whilst creating new gameplay mechanics inside vscript, I thought it would be worthy of a bug report since I imagine others may run into it too.

NOTE: This bug is also present inside base Portal 2, and Portal 1.

To Reproduce

This is the easiest way to reproduce it, from my testing.

  1. Pickup a physics prop.
  2. Open console.
  3. Enter the command ent_fire [targetname] use, where targetname is the name of another physics prop.
  4. Observe the prop you were originally holding becoming bugged out.

Here is a clip of me doing these exact steps:
https://drive.google.com/file/d/1l3VXJDG9y97dwiZShPZhXOPKs076NxKa/view?usp=sharing

Issue Map

Here is an incredibly basic test map I've created, including a prop_weighted_cube, prop_physics, prop_physics_override and an npc_portal_turret_floor (same one as featured in the video above): prop_pickup_whilst_holding_object_bug_testmap.zip

Expected Behavior

The held prop should be dropped as if +use was invoked, rather than becoming bugged.

Operating System

Windows 11 Home 23H2 Build 22631.4602

@Rip-Rip-Rip Rip-Rip-Rip added the Type: Bug This is a problem with something that should be working one way, but isn't. label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.
Projects
None yet
Development

No branches or pull requests

1 participant