© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
17mo ago
•
58 replies
axo
"Object reference not set to an instance of an object"
code
:
https://github.com/axololly/chess/tree/main/Board.cs#L1073
not sure why this is happening
. i changed the
Board
Board
from a
class
class
to a
struct
struct
so it
's no longer heap allocated
(used in an engine
, so these things matter
) and now it
's raising weird errors like this
GitHub
chess/Board.cs at main · axololly/chess
A chess move generator I made over the summer because my friends didn
't want to go out with me
.
- axololly
/chess
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Next page
Similar Threads
Object reference not set to an instance of an object.
C
C# / help
2y ago
✅ Object reference not set to an instance of an object?
C
C# / help
2y ago
Object reference not set to an instance of an object
C
C# / help
2y ago
❔ ✅ 'Object reference not set to an instance of an object.'
C
C# / help
3y ago