Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

controllers not working in Webgl

Discussion in 'WebGL' started by stephanelevy, Jul 1, 2022.

  1. stephanelevy

    stephanelevy

    Joined:
    Jun 24, 2022
    Posts:
    5
    Hi,
    I've created a very simple scene with the first person controller in Unity.
    Deactivated the main camera as explained here:

    When I export for Mac, it works.
    When I export to WebGL, the controllers are not working.
    What should I do?
    Thanks.
    Stéphane Lévy
     
  2. stephanelevy

    stephanelevy

    Joined:
    Jun 24, 2022
    Posts:
    5
    By this I mean that I cannot move around in the scene.
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,019
    check browser console for any errors? (usually F12 key in browsers)
     
  4. stephanelevy

    stephanelevy

    Joined:
    Jun 24, 2022
    Posts:
    5
    Doesn't work. In fact it doesn't work in game / play mode.
     
  5. fad12345

    fad12345

    Joined:
    Jul 20, 2022
    Posts:
    1
    hi this is also happening to my project. Have you got any solutions?