Skip to main content

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

Game crashes when trying to move

A topic by FireSD created Feb 17, 2024 Views: 3,374 Replies: 5
Viewing posts 1 to 3

can load up the game and forsaken city and even look around but the second i try to move the game instantly crashes. Im basically looking for someone with some tech knowledge to help with the crash report


Celeste 64 v.1.1.1

Error Log (02/17/2024 14:20:59)

Call Stack:

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 D:\a\Celeste64\Celeste64\Source\Graphics\Camera.cs:line 128

   at Celeste64.World.Render(Target) in D:\a\Celeste64\Celeste64\Source\Scenes\World.cs:line 659

   at Celeste64.Game.Render() in D:\a\Celeste64\Celeste64\Source\Game.cs:line 301

   at Foster.Framework.App.Tick()

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

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

   at Celeste64.Program.Main(String[]) in D:\a\Celeste64\Celeste64\Source\Program.cs:line 25

Game Output:

Celeste 64 v.1.1.1

Foster: v0.1.18

Platform: Microsoft Windows 10.0.22631 (X64)

Framework: .NET 8.0.1

SDL: v2.30.0

OpenGL: v3.3.13399 Core Profile Forward-Compatible Context 15.201.1151.0, AMD Radeon HD 7340 Graphics

FMOD Bindings: v20218

FMOD: v20207

Loaded Assets in 15606ms

Strawb Count: 20

Loaded Map '1' in 634ms

"field of view must be more than 0" tells alot doesnt it? 

it very much doesnt

can you spit it out for us common folk?

if you download the unity project, you could edit some of the code. The main issue is that theres unreachable code relating to the camrea. what i would do is look around in scripts that has stuff to do with the player. Or, maybe change around the inputs in the inspector

That's the same issue i'm having, dam