Page 1 of 1

DialogueInputRegistration never calls input.Disable

Posted: Fri Nov 22, 2024 6:56 am
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.

Re: DialogueInputRegistration never calls input.Disable

Posted: Fri Nov 22, 2024 7:46 am
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?