So, I just finished copying the tML file contents into the vanilla terraria folder in my directory, and i tried launching up the game, only to come across this error in the console whenever i get to the beginning of the mod loading sequence. If anyone here could please tell me what the error means, and how to fix it I'd be very grateful
. Here's what keeps appearing in the console:
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.Game.EndDraw()
at Microsoft.Xna.Framework.Game.RedrawWindow()
at Microsoft.Xna.Framework.SDL2_FNAPlatform.Win32OnPaint(IntPtr func, IntPtr evtPtr)
I have no experience reading through errors/debugging reports. So i'm kinda like a caveman here...
EDIT: Note that I have been playing on the x32 version of the Tmodloader for awhile now, and that version worked great except for all the out of memory errors i was getting. (Hence as to why i made the swap to 64x). And in case it helps, here are my computer specs:
Code:
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: UX305FA
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz
CPU Family: 0x6
CPU Model: 0x3d
CPU Stepping: 0x4
CPU Type: 0x0
Speed: 998 Mhz
4 logical processors
2 physical processors
HyperThreading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Unsupported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Windows 10 (64 bit)
NTFS: Supported
Crypto Provider Codes: Supported 311 0x0 0x0 0x0
Video Card:
Driver: Intel(R) HD Graphics 5300
DirectX Driver Name: igdumdim32.dll
Driver Version: 20.19.15.4531
DirectX Driver Version: 20.19.15.4531
Driver Date: 9 29 2016
OpenGL Version: 4.4
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 60 Hz
DirectX Card: Intel(R) HD Graphics 5300
VendorID: 0x8086
DeviceID: 0x161e
Revision: 0x9
Number of Monitors: 1
Number of Logical Video Cards: 1
No SLI or Crossfire Detected
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 11.54" x 6.50" (13.23" diag)
29.3cm x 16.5cm (33.6cm diag)
Primary Bus Type Not Detected
Primary VRAM: 1024 MB
Supported MSAA Modes: 2x 4x 8x
Sound card:
Audio device: Speakers (Conexant SmartAudio H
Memory:
RAM: 8094 Mb
EDIT2: After some more trial and error, and a little more memory allocation to Terraria. I've concluded that running the game full-screen, and then using a task or hitting a key that minimizes the game from the full-screen state causes the error to occur. It seems that as long as I don't exit the game in any manner while playing, or for as long as I run the game windowed I can get away with loading to a world. But I still have no clue as to why this error is appearing in the first place...