App doesn't do anything after opening URL

edited April 2018 in Questions And Answers

I was following the Microsoft Academy tutorial Holograms 101 chapter 4: Voice. I am able to get my object to open a link using Application.OpenURL when I use the voice command Open Link. However, after the link opens, I am unable to do anything else such as call the OnDrop command via voice, and my hologram disappears. Any ideas why?

My code for the listener object (my SphereCommands script):

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SphereCommands : MonoBehaviour
Vector3 originalPosition;
Renderer m_ObjectRenderer;

// Use this for initialization
void Start()

    m_ObjectRenderer = GetComponent<Renderer>();

// Called by SpeechManager when the user says the "Reset world" command
void OnReset()

void OnDrop()
// Just do the same logic as a Select gesture.
m_ObjectRenderer.enabled = false;

Sign In or Register to comment.