Facepunch / sbox-issues

180 stars 12 forks source link

You can set your FOV to 0 #7501

Closed jusvit closed 1 week ago

jusvit commented 1 week ago

Describe the bug

I had this issue where I accidentally set my FOV to 0 while messing with a project, I didn't know I set it to 0 but it impacted every game thus forward.

It's currently not being limited correctly.

https://github.com/user-attachments/assets/f09ffd84-efd4-469d-9124-e5a3a1e45322

To Reproduce

  1. Join game with default player controller
  2. Open s&box settings
  3. Go to Game, and set FOV to 0
  4. You can't see anything now

Expected behavior

A sensible FOV min/max to prevent idiots like me doing this.

Media/Files

No response

Additional context

No response

jusvit commented 1 week ago

According to devultj, these are the current limits but they're being ignored. Image