Hello, I'm posting this issue because when I am trying to pass a string on Debug::Log for instance it works fine, but when I send them to any custom function taking Objects as arguments (in my case it was two string objects), I get exceptions

what's weird is that I copied the exact same syntax of Debug.Log, thinking it had to be made in a specific manner and even deleted the entire body of the function leaving it as a function just being called and doing nothing, but even then it still crashes
all I want to do is compare two strings but it seems like a pain (because I am doing some checks with strings returned by the Unity API)