Open
Description
Please avoid duplicates
- I checked all open issues and discussions and none of them matched my problem.
Language and Compiler
Vanilla JavaScript
What environment are you using?
Local Development Server
When does your problem occur?
While writing code
What does your problem relate to?
The problem seems React related
React-Unity-WebGL Version
9.7.0
React Version
18.3.1
Unity Version
60000.0.10f1
What happened?
"docs/api/event-system" says that you have to put the jslib file in "your Unity project's /Plugins/WebGL directory", that's wrong. It has to be placed in anywhere in the Assets folder.
Please change the docs at that point.
https://docs.unity3d.com/Manual/web-interacting-browser-js.html says
Reproducible test case
No response
Would you be interested in contributing a fix?
- yes, I would like to contribute a fix