Inspect Game Objects at Runtime (SOLVED)


#1

Is there any way to inspect game objects/components spawned at runtime?

This is not referring to the script debugger, but rather to seeing which GO type/particlefx/factory etc. have been generated at any point during the game, along with visibility into their hierarchies.

If not, please suggest if there are efficient workflows or tips to measuring this.

Thanks


#2

Nevermind, it appears the profiler has this built in!


#3

Yes, the webprofiler has an entire separate page for showing what’s loaded and created at runtime. I just realized this is missing from the manual: https://www.defold.com/manuals/profiling/

Will fix this today.


#4

I’ve updated the manual to also mention the Resources profiler.