Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot set property param of #<ComponentManager> which has only a getter when call the player.load(json) #284

Open
liup215 opened this issue Mar 21, 2024 · 0 comments

Comments

@liup215
Copy link

liup215 commented Mar 21, 2024

When I try to call the player.load(json), it show an error:

index.js:811 Uncaught (in promise) TypeError: Cannot set property param of #<ComponentManager> which has only a getter
at baseAssignValue (index.js:811:15)
at assignMergeValue (index.js:753:5)
at baseMergeDeep (index.js:1012:3)
at index.js:923:7
at index.js:1193:11
at baseMerge (index.js:920:3)
at index.js:1912:3
at index.js:1170:9
at apply (index.js:136:25)
at index.js:1406:12

I try to solve it by checking the source code, but I only find the a merge in the Player.ts.

merge(this, json)

I think it's a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant