Skip to content

How to Add Objects to Udonity's Hierarchy for Inspection

Varneon edited this page Oct 15, 2023 · 2 revisions

ℹ️ By default, Udonity doesn't display any of the objects from your scene in its hierarchy due to performance reasons.

In order to inspect objects in your scene using Udonity, you have 3 options:

Add Transforms to Udonity Editor's Roots Array

If the objects in your world are available prior to build, you may add them directly to the Udonity Editor Descriptor's hierarchy roots array:

image

Add UdonityRootInclusionDescriptor Component to The GameObject

If the object isn't available prior to build, you may add the UdonityRootInclusionDescriptor component to it, which tells Udonity to append that object to the Udonity's hierarchy on build:

image

Search The GameObjects in Udonity

If you don't want to permanently inspect the object in Udonity or you forgot to include it, you can still search any object in your world by its name.

NOTE: The search feature is still experimental!

  • All search results treat the found object as the root of the hierarchy for appending it into the hierarchy window.
  • Searching for objects that already exist in the hierarchy may result in undocumented behaviour.