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.
DialogueInputRegistration never calls input.Disable
Re: DialogueInputRegistration never calls input.Disable
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?
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?
Re: DialogueInputRegistration never calls input.Disable
Yeah, after checking back, I must have altered it at some point. I've have replaced it with a fresh copy and everything works fine. Thank you for your time, and sorry for the inconvenience.
Re: DialogueInputRegistration never calls input.Disable
No worries! Glad it's working now.