Skip to main content
InaCentaur
Inspiring
May 5, 2025
Solved

Changing Entity Name After Spawning at Runtime

How do you change the name of a spawned entity at runtime? 

 

incidentally after hours of spinning, chatgpt deep research couldn't figure it out! 

SeeingBlue
Honored Contributor
May 5, 2025

If we look at the properties of an Entity here:
https://developers.meta.com/horizon-worlds/reference/2.0.0/core_entity

I notice the name property is 'Readable', which means read-only. We cannot write it.

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar

2 replies

SeeingBlue
Honored Contributor
May 5, 2025

If we look at the properties of an Entity here:
https://developers.meta.com/horizon-worlds/reference/2.0.0/core_entity

I notice the name property is 'Readable', which means read-only. We cannot write it.

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar
InaCentaur
Inspiring
May 6, 2025

okay, so if you spawn entities, you cannot give them unique names since name is read only??