onDrawGizmos not showing gizmos

Hi I am very new to unity and I want to draw gizmos but whatever I seem to do I can’t see them. I have my layers on default, I have the gizmo button in the scene tab on, I have selected the object and script even though I shouldn’t need to since its not onDrawGizmosSelected, and my code doesn’t have any errors. In the first screen shot you can see transparent sphere next to the start of the track. It only appears when im on the rect tool. It should be colored red and more visible based on my code.


Wrong subforum aside, Unity’s magic methods must be spelt correctly, including capitalisation: Unity - Scripting API: MonoBehaviour.OnDrawGizmos()

Closed. Low effort/wrong forum.
Please use the correct forum, and post code properly.