Player system blocks use of Menu?

I didn’t read your code, but its not hard to find an erorr here. Add Debug.Log above every line you cange the cursor, enable callstacks, and next time this happen you will see in console what is wrong.