Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

Error : isBaseObject: NotAvailableDuringDebugging

In Unity, I'm using GetComponent to access the properties of various game objects. However, I'm seeing isBaseObject: NotAvailableDuringDebugging error whenever I launch the app on the hololens. Unity doesn't throw any errors when the code is compiled.


void Start () {
    flag = false;
    child = GetComponent<Renderer>();
    index = transform.GetSiblingIndex();
    if (index == 0)
        nextBrotherNode = transform.parent.GetChild(1).gameObject;
    if (index == 1)
        child.enabled = false;
        nextBrotherNode = transform.parent.GetChild(0).gameObject;
    sibling = nextBrotherNode.GetComponent<Renderer>();
    Debug.Log("when the index is " + index + "next brother is" + nextBrotherNode+"the value of brother enabled is"+sibling.enabled);
    Debug.Log("when the child is" +child +"the index is"+ index + "and the is enabled is " +child.enabled);

The log output shows
"when the child isBaseObject: NotAvailableDuringDebugging the index is 0 and the is enabled is True"

Please help me fix this error.

Best Answer


  • Hello, I have the same issue not resolved by ahillier solution. Did you resolve the problem? Thank you in advance.

Sign In or Register to comment.