EtherealEngine / etherealengine

iR Engine - Bringing us together on the open social spatial web. πŸ€– πŸš€ πŸ‘“ πŸ•ΉοΈ πŸ§‘πŸΏβ€πŸš€

Home Page:https://etherealengine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace in-line usage of UUID generation for entity UUIDs with a helper function

HexaField opened this issue Β· comments

We have a few different sources of UUID generation (MathUtils.generateUUID, uuidv4 etc) that result in different formats for UUIDs. We should standardize on the best source of randomness & uniqueness between them and add a helper function generateEntityUUID() that uses it and returns it typed as EntityUUID

going with uuid package so we can remove some more dependencies on three.js :)