Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on startup #104

Open
Lietzen-py opened this issue Dec 28, 2023 · 0 comments
Open

crash on startup #104

Lietzen-py opened this issue Dec 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Lietzen-py
Copy link

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+<>c__DisplayClass18_2.b__1(Silk.NET.OpenGL.GL)
at Fushigi.gl.GLTaskScheduler+<>c__DisplayClass1_0`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b__0(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+<>c__DisplayClass10_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

@Lietzen-py Lietzen-py added the bug Something isn't working label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant