Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Fixed] Bug? Player joining working in editor, not in build

Discussion in 'Input System' started by GamesbyJP, Dec 9, 2019.

  1. GamesbyJP

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    Hello everyone!

    I stumbled on an issue with the new input system.
    I have a scene containing a gameObject with a PlayerInputManager component attached to it.
    I attached a picture of the PlayerInputManager here.
    The player prefab hooked up to the PlayerInputManager has a PlayerInput component attached to it.
    Everything works in the editor, users can join the scene when they press a button on their controller.

    However.. In a test build, not a single player prefab enters the scene when a button is pressed.

    Am I missing something in the build settings, or is this a bug?

    Thanks in advance!
     

    Attached Files:

  2. GamesbyJP

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    Nobody who can help?
     
  3. Squitz

    Squitz

    Joined:
    Sep 29, 2019
    Posts:
    4
    I got the same problem. Don't know why
     
  4. GamesbyJP

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    @Rene-Damm Seems like a pretty critical bug.
    I'll file a bug report later tonight.
     
  5. GamesbyJP

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    Tried to file a bug report, got this error instead...
     

    Attached Files:

  6. GamesbyJP

    GamesbyJP

    Joined:
    May 20, 2018
    Posts:
    62
    Update:
    Problem solved. After lots of testing, I discovered that we somehow had 2 active PlayerInputManager components in our scene handling player spawning..
    Sorry for the inconvenience.