Skip to content

Uncaught SyntaxError: Unexpected token '<' #57

Description

@harrycollin

I'm not sure if this is something with React itself or the package. I get this in the browser console when trying to load my Unity game
JSON.parse: unexpected character at line 1 column 1 of the JSON data

I've tested the same build outside of React and it loads without an issue.
Any help would be appreciated. My Unity version is 2018.3.1f1

  • Apologies if this is obvious. I've only just started to use React in the last few days.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions