Cannot find module 'react-unity-webgl' or its corresponding type declarations #396
-
hi everyone here! I just upgraded the package from version Please let me know if anyone facing the same problem and any possible solutions? In case you want to know my setup, I'm using Unity Editor 2022.2. The { // package.json
"dependencies": {
// ...
"next": "^12.1.6",
"next-auth": "^4.3.4",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-unity-webgl": "^9.0.2",
// ...
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi. I've ran some tests and cannot seem te duplicate the problem. Looking at the NPM file explorer, all of the type declarations should be there. Maybe a little bit of a weird question, but have you tried restarting VS Code? Since there are such major changes between the versions. Keep me posted! |
Beta Was this translation helpful? Give feedback.
-
Hi! A hot fix for this problem has published in release v9.0.3. Thanks for your detailed report and thinking with me! Happy coding! |
Beta Was this translation helpful? Give feedback.
Hi! A hot fix for this problem has published in release v9.0.3. Thanks for your detailed report and thinking with me! Happy coding!