Forum rules - please read before posting.

PlayerInput delegate warnings and input errors after upgrading to AC 1.85.1

Hi,

I recently upgraded Unity from 6000.0 to 6000.2.10f1, using AC Version 1.82.5.
Everything went mostly fine, except that in the WebGL build, some menus kept shrinking infinitely until they disappeared.

After some failed attempts to fix the menu issue, I decided to upgrade AC to Version 1.85.1.
That fixed the shrinking menus, but now the Console shows dozens of warnings about PlayerInput delegates being deprecated.

Here are some examples of the warnings:

https://imgur.com/a/6cXeqVR

In addition, touch input no longer works, and when I try to speak to NPCs, the game breaks with the following error:

https://imgur.com/a/og2F1fS

I saw in the 1.85.0 release notes that “The method of overriding PlayerInput delegates has changed”, but I’m not sure what I need to update to make my game compatible.
Everything related to input was working fine before the upgrade.

Any insight or guidance would be appreciated, thanks in advance!

Comments

  • What is the full error of one of the warnings - stacktrace included?

    The errors you're getting are related to the Input System downloadable package, which is now deprecated in favour of the built-in Input System template listed in the New Game Wizard.

  • edited November 13

    I re-imported the Input System Integration template through the New Game Wizard, which fixed most of the issues, all warnings and errors are gone.

    However, touch input still isn’t working, even though it was functioning before the update. (eta: I made sure to configure the Controls input action asset the same way as before the re-import.)

    As a side note, some templates appear twice in my New Game Wizard:
    https://imgur.com/a/wc2vgSp
    It doesn’t seem to cause any problems, just mentioning it.

  • edited November 14

    The only duplicate template listed in your screenshot is that of the Input Systm integration - it'll appear twice because one is built-in, the other is from the Downloads folder.

    In what way, specifically, is touch input not working? Is there no response at all, or limited?

    Try checking Use Enhanced Touch Support in your ControlsReader prefab's Inspector, and make sure that your Settings Manager's Input method set to Touch Screen.

  • The only duplicate template listed in your screenshot is that of the Input Systm integration

    The Demos are duplicated as well, probably for the same reason as the Input System Integration.

    In what way, specifically, is touch input not working?

    Touch input wasn’t responding at all, but after following your suggestions it’s working now.

    I’m just a bit confused, since before the AC update my WebGL build worked on both PC and mobile browsers without having to change the Input method in the settings.

    But everything’s working now, thanks.

  • The Demos are duplicated as well, probably for the same reason as the Input System Integration.

    Can you share a screenshot? The only one I've seen is that of the Input System Integration.

    Bear in mind that when importing Templates into an existing project, all are shown - 2D and 3D included.

    I’m just a bit confused, since before the AC update my WebGL build worked on both PC and mobile browsers without having to change the Input method in the settings.

    Hard to say. But, the integration's Controls Reader has options to alter the Input Method dynamically based on the input used.

  • Oh, you’re right, only the Input System Integration is duplicated. I must have mixed it up with the demos player/scene. Sorry about that.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.