matrix-org / matrix-org/thirdroom
Objects falling through floor when scripts reload
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 647
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Script loading is stalling the GameThread and physics objects are falling through the floor. Need to switch to fixed physics pipeline? Or pause physics system while loading is happening?
Repro:
1. spawn physics object via script
2. reload scene via script editor
3. observe the object falling through the floor.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Reproduce the problem by spawning a physics object through a script, reloading the scene from the script editor, and observing whether it falls through the floor; then trace script loading and physics coordination. Done means the repro no longer allows objects to pass through the floor during reload.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100