Wayfinder Widget: arrived/departed events do not show data on Hololens-2
Hi all,
I'm using the Wayfinder widget in a 3DEye project for Hololens-2, the objective is to guide the user through different position in our company stand in exhibitions.
Here the widget setup:
Wayfinder widget properties
I've left "Auto Advance" unchecked to intercept also the 'departed' event, as demonstrated in
I use js listeners to catch the events like these:
$scope.$on('arrived', function(evt,arg) {
let waypointId = arg.waypointId; console.log('waypointId: ', waypointId, ' type: ', typeof waypointId);
console.error(`---- ON WAYPOINT: ARRIVED ----`);
$scope.handleWaypointArrived(waypointId);
})$scope.$on('departed', function(evt,arg) {
let waypointId = arg.waypointId; console.log('waypointId: ', waypointId, ' type: ', typeof waypointId);
console.error(`---- ON WAYPOINT: DEPARTED ----`);
$scope.handleWaypointDeparted(waypointId);
})
In browser preview everything works as expected:
Events Console Print
Tested on Hololens-2 the handle-functions seems not being invoked, so I checked the VuforiaViewLog.txt
and found this:
VuforiaViewLog.txt Debug Print
Events are actually thrown, but with undefined/empty data field(?)
I've also tried using $rootScope instead of $scope for listeners, but it's still the same.
Do you guys have any hints? Thanks in advance.



