OpenKh icon indicating copy to clipboard operation
OpenKh copied to clipboard

[BUG] - Game engine crash due to invalid FOV value

Open MarioSonic2987 opened this issue 4 years ago • 3 comments

OpenKH Build Build 1385

OpenKH Program Game engine

Describe the Bug The game engine crashes when camera looks at Demyx.

To Reproduce

  1. Go to map he10 and load event 105 (When Demyx appears for the first time)
  2. Close the main menu and wait until the game window closes.

Expected behavior The event should play normally.

Screenshots This is when the engine crashes. image

Additional context Crash due to invalid FOV value. Log Game engine

MarioSonic2987 avatar Feb 13 '21 10:02 MarioSonic2987

This pr should fix the issue haven't tested it myself https://github.com/Xeeynamo/OpenKh/pull/418

Delta-473 avatar Feb 13 '21 15:02 Delta-473

The issue will remain open until #418 is merged and tested.

ghost avatar Feb 14 '21 22:02 ghost

Latest release build (298) still crashes with fov out of range: tt34 event: 314 (fov has a value of 204.something) on previous testing before pr #418 the game crashes when fov >= 204. tt04 event: 309 crashes with a negative fov of -6.something.

Delta-473 avatar Feb 20 '21 18:02 Delta-473