Was mentioned on Youtube and I'm logging this here.
Repro steps:
1) Pickup foam pistol.
2) Shoot a projectile so it lands on the floor somewhere visible.
3) Unequip foam pistol -> the projectile gets hidden.
4) Re-equip foam pistol -> projectile reappears.
Cause:
The projectile gets spawned with the wieldable node as parent. If the wieldable gets unequipped, it gets hidden, causing all projectiles to also get hidden. Need to reparent the projectiles to solve this.
Was mentioned on Youtube and I'm logging this here. Repro steps:
1) Pickup foam pistol. 2) Shoot a projectile so it lands on the floor somewhere visible. 3) Unequip foam pistol -> the projectile gets hidden. 4) Re-equip foam pistol -> projectile reappears.
Cause: The projectile gets spawned with the wieldable node as parent. If the wieldable gets unequipped, it gets hidden, causing all projectiles to also get hidden. Need to reparent the projectiles to solve this.