#Shooter bug / C-Foam passing through doors

1 messages · Page 1 of 1 (latest)

upper axle
#

This is simply an informative report on previous findings to make it easier for the developers to implement a fix whenever they feel like it

Bugged Behaviour

  • Shooter pellets are inconsistent with majority passing straight through the player, not dealing damage.
  • Cfoam going through doors
  • Mines not killing players

Main Causes

Shooter bug and other related RayCast issues such as C-Foam going through doors and Mines not killing players are caused by a Unity bug detailed here

This bug happens as a result of projectiles with colliders falling out of bounds and travelling super far away as a result causing the above Unity bug to occur.

A common cause are gun magazines falling very far as they persist between levels and are not cleaned up unless the player switches their gun loadout (this applies to all players in the lobby and both primary and secondary).

  • Gun magazines are the worst offenders as they persist forever until the user changes loadout or restarts their game.

Other projectils mid-game can also cause issues such as players throwing fog repellers / glow sticks down elevator hole or cfoam falling through floors.

Steps to reproduce

  1. Enter any level
  2. Reload your gun
  3. Retire to lobby
  4. Wait 1-2hrs for the magazine to drop far enough
  5. Profit

Possible solutions

  1. Delete projectiles after X minutes have passed
  2. Delete projectils if they stray X units of distance away from world origin
  3. Some blanket trigger under each dimension that catches projectiles and destroys them
  4. Update Unity (impractical)

Cleaning up gun magazines properly post-level is only a partial fix as throwables going down elevator pit and cfoam through floors still cause the bug mid-level

Attached Clips

I am using a plugin that spawns a super far away object and enable / disable it to showcase the issue

upper axle