Hi,
tricky...
the problem with this is that to get the right up to date angle, it has to be performed on LateUpdate.
but in case where GameObject are settled in place and did not move during the frame, then computing on Enter works yes.
If GetAngleToTarget2 works for you, We'll put it on the Ecosystem I guess.
Bye,
Jean