© 2026 Hedgehog Software, LLC

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

NullReferenceException Object reference not set to an instance of an object

List<Effects> effectsList = activePlayerEffects[targetPlayer] ?? new List<Effects>();
List<Effects> effectsList = activePlayerEffects[targetPlayer] ?? new List<Effects>();

someone save me!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

System.NullReferenceException : 'Object reference not set to an instance of an object.'
C#CC# / help
2y ago
✅ System.NullReferenceException: 'Object reference not set to an instance of an object.'
C#CC# / help
2y ago
System.NullReferenceException: Object reference not set to an instance of an object.
C#CC# / help
3y ago
✅ System.NullReferenceException : Object reference not set to an instance of an object.
C#CC# / help
3y ago