It depends - be aware though that the more you diverge from the sensor input others use, the more you tend to diverge from others behaviors. You see different data.
It’s important (often more important) while driving that you’re doing what others expect, less what the rules say must be done - especially on edge case behavior.
Each sensor suite has it’s own pros and cons - LiDAR can have real challenges with reflective surfaces or highly absorptive ones (wet and slick, oily, snow). It’s range is based off return signal strength. There are also problems with many LiDAR sensors and daylight drowning out the signal.
Time of flight sensors (really a type of ‘broadcast’ LiDAR) have similar issues combined with some weird edge cases with reflective geometries or some surfaces.
Passive visual light sensors have issues with contrast (high signal strength drowns out low signal strength in nearby areas) and lacks useful information about time of flight unlike LiDAR. They are Cheap though generally, and give us a signal we generally think are ‘obvious’
Active radar sensors (including phased array) also provide very useful signals, also have pros and cons.
Sonar, same.
Ideally you’d have 360 coverage from enough different sensors that you can do sensor fusion and detect and exclude a sensor in situations where you’re hitting a known problem for a sensor suite. Looking into the sun? Well visual and potentially LiDAR/ToF data is iffy, switch to sonar and radar. In a high EMF environment? Surrounded by metal? Switch off radar perhaps.
Those cost money - equipment and development - however.