pupil-labs / hmd-eyes

Building blocks for eye tracking in AR and VR.
GNU Lesser General Public License v3.0
152 stars 64 forks source link

Add better logs for missing component references #101

Closed pfaion closed 4 years ago

pfaion commented 4 years ago

Previously some users would not notice if a component was missing a connection, or did not know what to do in this case. This PR should make this a bit clearer to users by telling them which reference is missing from which component and that they need to connect them manually. It also logs an error instead of a warning since the component won't function correctly in this case.

This is especially important since we offer a range of ready-to-use prefabs, which still require to be hooked up correctly to the scene. Just dragging them in would not work because of missing references.