UI Toolkit & The New Event System

If I import the new input system into my project, and I have a UI Document Monobehaviour in the scene, it will throw an error until I add a “Input System Event System (UI Toolkit)”.

Once I add it, button clicked events stop working.

I noticed the EventSystem is using its own Input Actions asset. Will that conflict with mine? I tried configuring the event system to use my Input Actions asset, but that didn’t help. Am I suppose to somehow use the one included in the package?

Turns out it had nothing to with the new input system. I was listening for the clicked event in the Awake function instead of the OnEnable function.