im new to UE5, im trying to do a HUG in Widget Blueprint and i was wondering why the number were getting like random, in the video im looking, the number is 0, mine keep getting bigger after adding more.
Hey there @Livrack! If there are other instances of the type of object (in your case a project bar) existing somewhere in the engine when the automatic naming occurs, it will skip used numbers. Don’t worry, you can set your own naming regardless.
i understood that, but why it skip like 60 numbers then 120, back to 80 and so on weird, because i definitely dont have 600 bars, only like 6.
Hey,
as @SupportiveEntity said, you don’t need to worry about Unreals’ automatic naming.
These kind of “issues” occur on a lot of different places where Unreal seems to append “random” numbers to names.
Which can have multiple reasons, as the number is not actually random but based on the object instance ID that UE assigns internally.
You said you don’t have 600 bars - well yes you don’t, but UE still increases that ID when certain things happen
- Deleting/Recreating widgets will increase the ID (even if the older IDs are now deleted)
- Creating any UObject contributes to the ID counter
- Undo/Redo will create temporary instance which also increase the ID counter
However, you don’t need to care about this at all, as its just names that you can change yourself.
