Is it possible to change ID of an actor?

In addition to name assigned to actors in level, each actor is assigned a unique ID (looks something like AClassName_C_4- if you hover over an actor you can see it).

I gave each of objects helpful names but these don’t show up when debugging in Visual Studio. Instead, I can see IDs. Therefore, I was wondering if it was possible to change these IDs to be something more useful?

Hey ,

These IDs are generated for each unique Actor, and can’t be renamed. You should be able to see ID name for each Actor if you hover over item in Scene Outliner, if you need to reference it while debugging. danger is accidentally naming two unique Actors same ID, which would cause all sorts of problems.

Best,

What if we all promise to be really careful? Or just an editor error if names clash. problem is, when I am debugging, I can’t hover over names in editor (debugger stops all threads including UI thread so editor doesn’t respond).

Is there a way to get names I have assigned visible through debugger? Obviously passing about 2 strings is not ideal for release but might be useful when debugging.

Its simply - select actor, press F2, add ‘sign’ at end of label, press enter.

now ID = label. press F2 and remove ‘sign’ from end of label. press enter.

fixed.

2 Likes

Perfect! It works!

Does this not work anymore in UE5?
Previously when placing an object/actor in the editor it would give it a name followed by a number.
Like a blueprint actor called BP_Portal would get the name BP_Portal_1.
Then I could rename it BP_Portal_Courtyard and it would change the display name and the Reference to Actor ID (ObjectName).
Now when I rename it, the display name changes, but the Object ID is still BP_Portal_C_1.
It is very helpful to see the name in the log instead of the BP_*_C_1.