Skip to content

TypeError: Cannot set properties of null (setting 'onclick') #102

@AbdelNabut

Description

@AbdelNabut

Describe the bug
When loading up a WebGL Unity project using the web3 login scene, the following error pops up: TypeError: Cannot set properties of null (setting 'onclick'). It seems also to happen only when running the webgl build on a server, since I do not get the error when using Unity's build and run.

To Reproduce
Steps to reproduce the behavior:

  1. Build project with web3 login scene as as the first scene in the build.
  2. Host build on server
  3. Connect to build

Expected behavior
I don't expect to see this pop-up error.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] So far MacOS and Windows
  • Browser [e.g. chrome, safari]: Chrome
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugAdded to issues and PRs if they are addressing a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions