vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
531 stars 175 forks source link

Entities: Add version property to entities upon creation. #1710

Open digisomni opened 2 years ago

digisomni commented 2 years ago

Summary

In the interest of allowing entities to be properly handled and upgraded, without assumptions, every entity is assigned a semantic version upon its creation. This is a read-only property to the scripting API and can only be changed by copying properties to a new entity.

ctrlaltdavid commented 2 years ago

How does this property differ from the UUID? That also is a read-only unique identifier. How is it envisaged that the version property be used?

digisomni commented 2 years ago

Entity JSONs have a single version at the top if I recall correctly, this instead moves that version number into each entity. The UUID is to identify the entity, the version is to determine what set of "properties" it has and can legally have so we can perform fix-up, determine compatibility, etc.

stale[bot] commented 1 year ago

Hello! Is this still an issue?

stale[bot] commented 1 year ago

Hello! Is this still an issue?