light="defaultLightsEnabled: false" is ignored on second load
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
- A-Frame Version: 1.2.0
- Platform / Device:
- Reproducible Code Snippet or URL:
I have both existing lights and the above added to the scene element.
Works the first time (no other lights) the second time the scene loads (it's in a react app but removed and then loaded again ) the above is ignored and the lights are added.
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 file, test, or entry point is named. Start by reproducing the React scene mount, unmount, and second load with defaultLightsEnabled: false, then trace how that setting is handled between loads. Done means existing lights remain disabled on every scene load.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- game-dev, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100