I have attempted to make an invisible, intangible, and unmoving block that, having come into contact with first person controller, will cause a Debug.Log function to take place. I have succeeded at making the block but have been met with failure in regards to the code. Could you please help me?
Unity has some functionality for this in the Trigger paradigm. Try creating a cube with a collider, setting it as a trigger, and then using OnTriggerEnter() to print your debug message.