Uncaught SyntaxError: Unexpected token '<' #323
Unanswered
tunztunztunz
asked this question in
Help Wanted!
Replies: 1 comment 2 replies
-
Duplicate of #57, also explained in the documentation. TLDR; - loaderUrl: "../../../../public/build/Build/build.loader.js",
+ loaderUrl: "build/Build/build.loader.js", |
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
-
Unity Version: 2020.3.26f1
I've followed all of the issue threads and tried a few different folder structures that I thought would fix the issue, but I can't seem to find what's causing this.
I'm declaring the context like this
and I've tried
and calling the player like this:
I see the unity player styles, but nothing loads. I've tried the following file structures (changing paths to match), but they both give me the same results.
I noticed that a lot of the documentation references a .json file that Unity no longer serves in their builds for more recent versions. Is there a different set up for 2020/2021 for this package to work?
Beta Was this translation helpful? Give feedback.
All reactions