Skip to content

[BUG] BS.GameObject id mutates immediately after initialization #134

@saternius

Description

@saternius

Describe the bug
When a new BS GameObject is created, its ID changes on the next frame, which can lead to a whole host of issues.

How to reproduce
let newGameObject = new BS.GameObject(newSlotName);
let newId = newGameObject.id;
console.log("ID on Initialization", newGameObject, newGameObject.id, newId)
setTimeout(()=>{
console.log("ID shortly after", newGameObject, newGameObject.id, newId)
}, 1000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions