Hello,
I’m generating some Physics.Raycasts and I want to check the profiler for performance, but I’m not exactly sure what section to look for. Under CPU usage there is about 15 different categories for Physics-related tasks. Does anyone know what to look for related to Raycasts?
Depends where you call it from. Normally you will see it under Behaviour.Update if you raycast in Update. There are similar lines for FixedUpdate, Awake, Start and so forth.
For even more precision place the raycast between BeginSample and EndSample calls.