endlesstravel / Love2dCS

C# Wrapper for LÖVE, a 2d game engine
MIT License
166 stars 14 forks source link

StackOverflowException #76

Open gusg21 opened 5 years ago

gusg21 commented 5 years ago

My game crashes with this error:

init shader code boot ...
init shader code success

[warning] Mouse.IsDown() MousePressed() MouseReleased() has change the button based index as 0 !
(warning will disapper after two version, or set WarnningInfo as false on bootConfig)

FileSystem set source with path : C:\Users\gus\Documents\C#\Love2D-CS\Love2D-CS\bin\x64\Debug

Process is terminated due to StackOverflowException.

Any ideas? My code is really broken up, but if I need to I can upload it. However, Visual Studio doesn't give me a line number or anything so I have no idea whats going on.

endlesstravel commented 5 years ago

This may be due to a problem with your function call. It looks like you call a function recursively. If it's convenient, please give me code for analysis.