So i am running a Calamity world with some other mods with my friend, and every time the Old One's Army event start, this error occurred after the first wave:
09/07/2021 1:14:58 AM
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SDL2.SDL.SDL_GL_SwapWindow(IntPtr window)
at Microsoft.Xna.Framework.Graphics.OpenGLDevice.SwapBuffers(Nullable`1 sourceRectangle, Nullable`1 destinationRectangle, IntPtr overrideWindowHandle)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Present()
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.EndDraw()
at Microsoft.Xna.Framework.Game.EndDraw()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop(Game game)
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_()
This error doesn't appear in the 32bit version, only in the 64bit and only in the Old One's Army event
Any help would be greatly appreciated, thank you.