You are viewing a potentially older version of this package. View all versions.
randomuserhi-ShooterBugFix-0.0.1 icon

ShooterBugFix

If you believe its fixed, its fixed.

Date uploaded 2 years ago
Version 0.0.1
Download link randomuserhi-ShooterBugFix-0.0.1.zip
Downloads 136
Dependency string randomuserhi-ShooterBugFix-0.0.1

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.1 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.1

README

Probably doesnt work

Shooter bug seems to be an issue with Unity's Character Controller and Physx. They do not play well together with raycasts and other collider interactions as shown below: https://forum.unity.com/threads/physics-raycast-against-charactercontroller-is-broken-bugged-unreliable-in-2021.1433314/ https://forum.unity.com/threads/raycast-rarely-fails-for-no-discernible-reason.1263626/

This fix was supposed to add a CapsuleCollider to replace the character controller, but after testing it seemed like adding a disabled CapsuleCollider fixed the issue. I don't actually know if it does, it just seemed to.

For reference:

  • Without CapsuleCollider: 3hrs until shooter bugged consistently (tested 3 times)
  • With CapsuleCollider: 5hrs+ no shooter bug (didn't test further, nor repeated)

¯\(ツ)