PickSpriteWithRay returns ray value as null

While performing a raycast on a sprite in a 360degree photodome, PickSpriteWithRay returns ray value as null

pickspritewithray

Whereas pickWithRay returns the ray value. Any idea?

This PR will fix the problem:

1 Like