Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Game crashes when the first level starts

A topic by itsMrDarkpencil created Jan 30, 2024 Views: 239
Viewing posts 1 to 1
(+1)

When the first level start everything goes normal, then i move the camera or Madelin and the game crashes.

The error log give me this code:

     System.ArgumentOutOfRangeException: fieldOfView ('NaN') must be greater than '0'. (Parameter 'fieldOfView')

     Actual value was NaN.

                 at System.ArgumentOutOfRangeException.ThrowLessEqual[T](T, T, String)

                 at Celeste64.Camera.get_Projection() in /home/noel/Projects/Celeste64/Source/Graphics/Camera.cs:line 128

                 at Celeste64.Camera.get_ViewProjection() in /home/noel/Projects/Celeste64/Source/Graphics/Camera.cs:line 139

                 at Celeste64.Camera.get_Frustum() in /home/noel/Projects/Celeste64/Source/Graphics/Camera.cs:line 159

                 at Celeste64.World.Render(Target) in /home/noel/Projects/Celeste64/Source/Scenes/World.cs:line 633

                 at Celeste64.Game.Render() in /home/noel/Projects/Celeste64/Source/Game.cs:line 288

                 at Foster.Framework.App.Tick()

                 at Foster.Framework.App.Run(String, Int32, Int32, Boolean )

                 at Foster.Framework.App.Run[T](String, Int32, Int32, Boolean )

                 at Celeste64.Program.Main(String[]) in /home/noel/Projects/Celeste64/Source/Program.cs:line 23

I tried to see in every document (even the .dll ones with dotPeek) and couldn't find "Camera.cs", dunno if im blind or just dumb but i really want to play this, if someone could give me an aswer will be phenomenal thanks anyway (excuse any misses from my english not my first language lol).