Search Issue Tracker

In Progress

Fix In Review for 6000.0.62f1, 6000.4.X, 6000.5.0a1

Fixed in 6000.2.10f1, 6000.3.0b9

Votes

0

Found in

6000.0.1f1

6000.1.0a7

6000.2.0a1

6000.3.0a1

6000.4.0a1

6000.5.0a1

7000.0.0a1

Issue ID

UUM-71847

Regression

No

[URP][Package samples] Scenes using FirstPersonController not working in Unity 6

-

Steps to reproduce:

  1. Create a new Universal 3D project.
  2. Open Window > Package Manager > Universal RP.
  3. Click "Samples" tab and click "Import" next to URP Package Samples.
  4. You may have to change the Render Pipeline Asset according to the instructions in Game View.
  5. Enter play and try moving in the following Sample Scenes:

*
** CameraStacking > MixedFOV
* Shaders > Lit

Expected results:* You can move.
Actual results: You cannot move. A message appears in the console stating that the FirstPersonController uses the legacy input system, and it needs set in Project settings. 

The movement will work once the user changes Project Settings > Player > Active Input Handling to Input Manager (Old) and restarts the project. However, this troubleshooting may not be known to a new user who might be exploring the samples.

Reproducible with versions: 6000.0.1f1, 2023.3.0a2

Not reproducible with versions: 2023.2.20f1, 2022.3.28f1, 2021.3.38f1

Can't test with versions: 2023.3.0a1, unable to install

Tested on (OS): macOS (Intel) 12.7.4

Notes:

  • Info message:

{code:java}
The FirstPersonController uses the legacy input system. Please set it in Project Settings
UnityEngine.Debug:Log (object)
FirstPersonController:Start () (at Assets/Samples/Universal RP/17.0.3/URP Package Samples/SharedAssets/Scripts/FirstPersonController.cs:24){code}
 

 

  1. Resolution Note (fix version 6000.5.0a1):

    Change the First person controller to work with the new input system in the MixedFOV and Shader/Lit scenes
    Create a new script to manage the move and look actions
    Create a camera switcher script for the MixedFov scene
    The cameras switch in the MixedFov scene uses now the fire button
    Adapt the canvas in the MixedFov scene to add the fire use
    Create the player controls input actions dedicated to the samples

  2. Resolution Note (fix version 6000.4):

    Use the input system
    Modify the scripts for move and look
    Correct the scenes

    PR: https://github.cds.internal.unity3d.com/unity/unity/pull/80873

  3. Resolution Note (fix version 6000.0.62f1):

    Modify the First Person Controller script to work with the Input System

    PR: https://github.cds.internal.unity3d.com/unity/unity/pull/81062

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.