While testing the Eden editor for the first time today I ran into a script error when I accidentally opened the team switching UI (U key):
_playerObject = player;>
18:41:45 Error Undefined variable in expression: _selectedunit
18:41:45 File A3\ui_f\scripts\TeamSwitch.sqf, line 124
18:41:45 Error in expression <vehicleOfSelectedUnit = typeOf (vehicle _selectedUnit);