Cannot read property "setComponentInstace" of undefined. Issue setting up project #163
Unanswered
allihuwa
asked this question in
Help Wanted!
Replies: 3 comments 2 replies
-
Hi. Which version of the module are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I installed this version: react-unity-webgl@8.x because I am using unity version 2020.2.7f1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
As of version 8.x of the module |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to link up my unity webgl project with this framework but I am having some problems. First I had to change the unityContext import for unityContent because UnityContext was not seen as a constructor. I found this solution here:
#118
But now I am getting a "TypeError: Cannot read property "setComponentIsntance" of undefined and am again stuck. Bellow is a picture of my vscode with the webgl build in the src/build folder and also the way I setup the app.js script. Can you help me identifying what is wrong or might be the problem?

Thank you
Beta Was this translation helpful? Give feedback.
All reactions