The integration of space, air, and ground segments into unified space–air–ground integrated networks (SAGINs) enables low-latency, ubiquitous, and scalable computing. However, such systems face critical challenges: ground terminals suffer from weak satellite links, unmanned aerial vehicle (UAV)-based edge nodes have limited resources, and highly dynamic environments make it difficult to make efficient offloading and resource allocation decisions. Prior approaches often optimize either communication or computation in isolation and lack adaptability to real-time environmental feedback. This article presents a novel perception-aware hybrid-action deep reinforcement learning (DRL) framework for joint optimization of task offloading, beamforming, and resource allocation in SAGINs. To improve tractability, the original nonconvex problem is first decomposed using block coordinate descent (BCD) and approximated with successive convex approximation (SCA), generating a structured feasible action space. A soft actor–critic (SAC) agent then learns policies over this space, informed by real-time UAV perception via millimeter-wave radar and vision sensors that detect user density, link quality, and environmental blockages. The DRL agent operates over a hybrid action space, combining discrete offloading decisions with continuous controls such as beamforming weights, CPU frequency, and transmission power. We employ a constraint-aware action masking mechanism that prunes infeasible hybrid actions violating delay, power, or signal-to-noise ratio limits, thereby accelerating learning while respecting SAGIN-specific constraints. Extensive simulations show that the proposed framework significantly outperforms greedy, no-perception DRL, and state-of-the-art DRL offloading algorithms in reducing latency and energy consumption, while improving offloading success and resource stability. These results highlight the effectiveness of combining analytical optimization structure with adaptive perception-driven learning for robust and scalable control in future SAGINs.