Anti-Wallhack Visibility System
Server-side line-of-sight validation for Unity. Prevent wallhacks with dynamic FOV sampling. Works with Photon Fusion, Mirror, Netcode & more. Ideal for PvP, stealth, and tactical games.
by Extreme World Studio
Price History +
Anti-Wallhack Visibility System is a robust, server-authoritative solution for Unity multiplayer games. It validates line-of-sight using physics linecasts and directional sampling, ensuring players only see what they legitimately should — blocking wallhacks and client-side cheats. Ideal for PvP shooters, tactical games, and stealth experiences.
Why use this asset
- Server-side security: All checks run on the host/server, resistant to tampering
- Real-time events: Subscribe to visibility changes for UI, AI, or animations
- Easy integration: Auto-registers with ObserverManager; works with URP, HDRP, and mobile
- Multiplayer ready: Compatible with Photon Fusion, PUN, Mirror, Netcode for GameObjects, and Fish-Networking
Core Features
- Observer-based FOV validation with aspect ratio and pitch control
- Dynamic and fixed line sampling per face
- UnityEvent relay for no-code event handling
- Editor gizmos for debugging cones, normals, and linecasts
- Performance-optimized with layer masks and adjustable resolution
Quick Setup
- Add ObserverManager to an empty GameObject
- Attach PlayerObserver to camera/AI (e.g. FOV=60, viewDistance=30)
- Attach PlayerVisibilityDetector to players (requires child BoxCollider)
- Optional: Add VisibilityUnityEventRelay for Inspector-based events
- Subscribe to OnVisibilityChanged for gameplay logic
Demo Scene Included
Test with multiple players, gizmos, and time scale controls. Works in single-player too for AI and stealth.
Requirements
- Unity 2021.3+
- Optional: Photon Fusion, Mirror, Netcode, etc.
- No external dependencies beyond Unity Physics
Documentation & Support
Includes full PDF documentation and multiplayer integration guide.
Contact: extremeworldstudio@gmail.com
Secure your multiplayer game today — prevent wallhacks without client trust.