© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
Starlk

System.AccessViolationException

I'm trying to create a simple multiplayer game using SignalR and Raylib, I wrote a really simple demo to just test things out https://paste.mod.gg/vurhhzhnueak/0 (This is the entity class https://paste.mod.gg/rrdqrlumtmag/1), and it actually works but that is until I try to open another instance of the same program, which cases it to throw an
System.AccessViolationException
System.AccessViolationException
exception @ line 49
Raylib.ClearBackground(Color.WHITE);
Raylib.ClearBackground(Color.WHITE);
, any idea what's causing it?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

System.AccessViolationException In windows but not in linux
C#CC# / help
2y ago
❔ System.AccessViolationException from Windows.Media.Audio.AudioPlaybackConnection (UWP)
C#CC# / help
3y ago
System.AccessViolationException: Attempted to read or write protected memory.
C#CC# / help
2y ago