Null object reference when trying to update an instance
I'm trying to code chess but its kinda rough.
https://pastebin.com/YxDs7Wry
https://pastebin.com/AfJQxsi3
https://pastebin.com/BFZVnPN4
If I want to move a piece to a legal square, I try to update the old instance to a new instance by changing the coordinates and assigning the relevant piece art there, but the instances are always null.
https://pastebin.com/YxDs7Wry
https://pastebin.com/AfJQxsi3
https://pastebin.com/BFZVnPN4
If I want to move a piece to a legal square, I try to update the old instance to a new instance by changing the coordinates and assigning the relevant piece art there, but the instances are always null.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.