Marker Tracking attach object

I am not able to attach any GameObject to the Aruco Marker tracked by the ML2. The given example does not seem to work

I catch the data inside OnTrackerResultsFound() and send it to a function to show an animation at the marker's place:
...

if (_markers.ContainsKey(id))
{
GameObject marker = _markers[id];
marker.transform.position = data.Pose.position;
marker.transform.rotation = data.Pose.rotation;

// HIDE THE ORIGINAL MARKER POSITION DUMMY
marker.GetComponent().enabled = false;

            markerpos.transform.position = marker.transform.position;
            markerpos.transform.rotation = marker.transform.rotation;

            _markeranimationscript.showmarker(markerpos.transform.position, markerpos.transform.eulerAngles, markersize);

Hi @filo.cino, thank you for your post. Can you give us a little more detail regarding the issue you're experiencing:

Unity Editor version (if applicable):
ML2 OS version:
MLSDK version:
ML Hub version:
Host OS: Windows