Unity's input system (1.7) stops working if 5 or more actions have been added

So, It took me a while to understand how Unity’s new input system works, but I finally think I have a pretty good understanding of it. Nevertheless, I started getting a bunch of random and strange errors (even after restarting both Unity and my PC), I even got a “u should not get here” error. This all stopped after I created an identical input layout in a new action asset, So I don’t know if the asset was corrupted somehow or what it was.
Either way, I then started to run into another problem which was that after creating more than 5 actions in an action map, the input system would register the input (Used the input debugger) but it wouldn’t fire Unity events for actions 6 and onwards.
I have tried to see if anyone else has encountered this problem, but I can’t find anything on it.

So has anyone encountered this, and knows what to do?

Update: It turns out that for some reason my project must have been corrupted or something because I decided to say F it and start a new project (in the same version of Unity), and I basically duplicated everything from my old project, but this time it worked.