We have fake grass after ddog destroyed the real stuff, but we are a north facing garden in Scotland so it never gets too hot.
ddog, who has always peed like a girl, has never liked peeing on the grass which is a bonus, probably reminds him of the carpet too much 😂 and pees in a separate stone chipped area, or the stone chipped border instead. This is something you could train them to do once it is laid. He does occasionally poo on the grass which is fine, easy to pick up and we have no noticeable lingering smell even on a rare hot day in Scotland.
Ours is around 6 years old now, it was laid properly, around 8-9 inches and skips full of soil removed, base compacted, filled with tonnes of small rocks, then smaller, then even smaller, sand and a weed membrane before the grass went on. Even with very heavy prolonged rain I've never seen a puddle and it is still as flat as a pancake. It was brilliant when ds was young as he could go out and play on it all year round as soon as the rain stopped and good now as ddog isn't coming in with muddy paws.
The first 3-4 years it was maintenance free no noticeable problems, now it gets a bit mossy and once or twice a year dh puts down moss killer then the next day uses a stiff deck brush to lift the moss out, before giving a good rinse. Takes a couple of days as he leaves on overnight and ddog can't be on treated areas until it is rinsed and dry.