object-get-data

Extract serialized data from Unity objects into nested member structures.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill object-get-data-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: object-get-data
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/object-get-data
Command: npx skills add https://github.com/sprillion/gem_td --skill object-get-data-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract serialized data from Unity objects to enable inspection, debugging, and modification of object state.

Core Features & Use Cases

  • Serialize and inspect UnityEngine.Object graphs (GameObject, Component, Asset).
  • Return a structured representation of type name, fields, properties, and nested members.
  • Use cases include debugging Unity scenes, tooling validation, and runtime diagnostics.

Quick Start

Call this tool with a Unity object reference to retrieve its serialized data.

Frequently Asked Questions about object-get-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract serialized data from Unity objects for debugging?

To extract serialized data from Unity objects, you need a valid object reference containing an instanceID. This process retrieves type names, fields, and properties to enable inspection and debugging of object state.

Can I inspect GameObject component properties during runtime diagnostics?

Yes, you can inspect GameObject component properties during runtime diagnostics by applying data retrieval to extract serialized fields and nested members from the object instance.

What is the best way to retrieve nested member structures from Unity assets?

The best way to retrieve nested member structures from Unity assets is to pass the asset reference to a serialization tool that returns a structured representation of type names, fields, and properties.

Does object data extraction require a specific input format for Unity objects?

Yes, object data extraction requires a specific input format: a valid objectRef containing an instanceID to accurately locate and serialize the Unity object data.

How do I serialize a Unity object graph for tooling validation?

To serialize a Unity object graph for tooling validation, apply data retrieval techniques to the target object, which extracts a structured representation of fields, properties, and nested members.

Why does my Unity object inspection not return nested member structures?

Your Unity object inspection might not return nested member structures if the provided objectRef lacks a valid instanceID, preventing the serialization process from accurately retrieving fields and props.