Closed ArtemkaKun closed 2 years ago
Can you raise a relevant issue/bug to go along with the pull request so it can be demonstrated to what it is resolving
Sure, give me a sec
Hmm, while creating an issue about what this change actually fixes, I found the actual problem that causes it - for some reason when you have the PointerElements object in the ObjectPointer.Straight prefab variant deactivated, in a build, null errors appear from the ObjectPointer class.
So I will close this PR since a source of error is not in the code.
Null checks for pointer elements (Origin, RepeatedElement, Destination) were implemented because of nulls when pointers are not used (for example in networking).