make Player::GameObject not nullable#418
Conversation
|
The GameObject becomes null when the player object is destroyed. Consequently, the ReferenceHub might also be null, though this isn't annotated currently. The GameObject nullability change was intentional |
|
But it
But it does not make sens the |
|
So smth like ReferenceHub.gameObject is null => GameObject is null ^ ReferenceHub.gameObject is null => ReferenceHub is null And also if there is a reason the player could be null developers should make the check because why should there be a null check when i know that a player has picked up a item? |
it should not be nullable in the first place just why it is. if GameObject should be nullable then ReferenceHub should be nullable and if the ReferenceHub is null then the whole Player is null i am losing my ming