The unawareness is hard to prove. How do you prove the realtor’s home inspection report simply missed something or there was a deliberate attempt to hide what was wrong?
You don't.
You just lost in this episode of the house-buying game. Think of it as expensive tuition and do not make the same mistake the next time. There is always a next time.
Once you have learned what you are doing and who you should be doing it with, these problems do not come up very often.