DialogueInputRegistration never calls input.Disable

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Anomen77
Posts: 3
Joined: Wed Feb 21, 2024 5:41 am

DialogueInputRegistration never calls input.Disable

Post by Anomen77 »

I'm currently in Unity 6000.0.26f1. The DialogueInputRegistration class calls input.Enable() on Initialize but never disables it afterwards. This fires an error on the selected Input Actions: "This will cause a leak and performance issues, InputActions.ActionMapName.Disable() has not been called."

I could handle it myself, but after going nuts trying to find the source of the error message for three days (I thought the culprit was my code), it would be nice if it was fixed for everyone.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: DialogueInputRegistration never calls input.Disable

Post by Tony Li »

Hi,

DemoInputRegistration has an OnDisable() method that disables the controls. I'm not seeing any errors, but I'm testing on Unity 6.0.28. (I've also tested on a variety of earlier 6.x versions.) Are you using a modified DemoInputRegistration script?
Post Reply