shibbo / Fushigi

An editor for Super Mario Bros. Wonder.
MIT License
133 stars 30 forks source link

crash on startup #104

Open wolfycodz opened 9 months ago

wolfycodz commented 9 months ago

Describe the bug crashing when loading a course on open console outputs this:

Error compiling shader of type VertexShader, failed with error WARNING: 0:3: '#extension' : 'GL_ARB_gpu_shader_int64' is not supported WARNING: 0:4: '#extension' : 'GL_ARB_shader_ballot' is not supported WARNING: 0:6: '#extension' : 'GL_EXT_shader_image_load_formatted' is not supported WARNING: 0:7: '#extension' : 'GL_EXT_texture_shadow_lod' is not supported WARNING: 0:9: '#extension' : 'GL_ARB_shader_viewport_layer_array' is not supported WARNING: 0:10: '#extension' : 'GL_NV_viewport_array2' is not supported

Error compiling shader of type FragmentShader, failed with error WARNING: 0:3: '#extension' : 'GL_ARB_gpu_shader_int64' is not supported WARNING: 0:4: '#extension' : 'GL_ARB_shader_ballot' is not supported WARNING: 0:6: '#extension' : 'GL_EXT_shader_image_load_formatted' is not supported WARNING: 0:7: '#extension' : 'GL_EXT_texture_shadow_lod' is not supported WARNING: 0:9: '#extension' : 'GL_NV_viewport_array2' is not supported

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Silk.NET.OpenGL.GL.DrawElements(Silk.NET.OpenGL.PrimitiveType, UInt32, Silk.NET.OpenGL.DrawElementsType, Void*) at Fushigi.gl.Bfres.BfresRender+BfresMesh.Draw(Silk.NET.OpenGL.GL) at Fushigi.gl.Bfres.BfresRender+BfresMesh.RenderGameShaders(Silk.NET.OpenGL.GL, Fushigi.gl.Bfres.BfresRender, BfresModel, System.Numerics.Matrix4x4, Fushigi.gl.Camera) at Fushigi.gl.Bfres.BfresRender+BfresModel.Render(Silk.NET.OpenGL.GL, Fushigi.gl.Bfres.BfresRender, System.Numerics.Matrix4x4, Fushigi.gl.Camera) at Fushigi.gl.Bfres.BfresRender.Render(Silk.NET.OpenGL.GL, System.Numerics.Matrix4x4, Fushigi.gl.Camera) at Fushigi.gl.Bfres.VRSkybox.Render(Silk.NET.OpenGL.GL, Fushigi.gl.Camera) at Fushigi.gl.Bfres.VRSkybox.RenderToTexture(Silk.NET.OpenGL.GL) at Fushigi.gl.Bfres.AreaData.AreaResourceManager.ReloadPalette(Silk.NET.OpenGL.GL, Fushigi.env.EnvPalette) at Fushigi.gl.Bfres.AreaData.AreaResourceManager..ctor(Silk.NET.OpenGL.GL, Fushigi.env.EnvPalette) at Fushigi.ui.widgets.LevelViewport..ctor(Fushigi.course.CourseArea, Silk.NET.OpenGL.GL, Fushigi.ui.CourseAreaScene) at Fushigi.ui.widgets.CourseScene+<>cDisplayClass18_2.b1(Silk.NET.OpenGL.GL) at Fushigi.gl.GLTaskScheduler+<>cDisplayClass1_0`1[[System.Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b0(Silk.NET.OpenGL.GL) at Fushigi.gl.GLTaskScheduler.ExecutePending(Silk.NET.OpenGL.GL) at Fushigi.ui.MainWindow.Render(Silk.NET.OpenGL.GL, Double, Fushigi.windowing.ImGuiController) at Fushigi.windowing.WindowManager+<>cDisplayClass10_0.b__1(Double) at Silk.NET.Windowing.Internals.ViewImplementationBase.DoRender() at Fushigi.windowing.WindowManager.Run() at Program.

$(System.String[])

To Reproduce Steps to reproduce the behavior:

  1. open fushigi

Expected behavior open course

Operating System: windows 11