Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why can't we Log the names of interacted objects?

Discussion in 'VR' started by Wallawocko, Oct 4, 2016.

  1. Wallawocko

    Wallawocko

    Joined:
    Nov 1, 2015
    Posts:
    25
    Whenever I try to debug.log any of the objects (e.g., the one that gesture manager is focused on) i always get "Base Object: Not AvailableDuringDebugging"

    game object: BaseObject: NotAvailableDuringDebugging

    Am I doing something wrong?
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    You can try getting the name of the gameobject or you can get the name of the collider you hit with a raycast.

    Let me know if you have questions or if you need more information.

    Thank you,
    Wesley
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    Log its name, not the object itself.
     
  4. Wallawocko

    Wallawocko

    Joined:
    Nov 1, 2015
    Posts:
    25
    Weird i thought i was but you were right. I guess its just a function of quick fingers. Thanks!