Can't say I have experienced the same. The models I have tried out don't always get everything 100% correct, but if I ask it to provide an example of code for X or Y game mechanic in C# compatible with Unity for example, it usually is able to provide code that actually does what I asked for. Even for Unity compatible HLSL shader code, shockingly. This is certainly a more recent improvement, maybe within the last 2 years.
It's not always the most optimized or the most readable, and sometimes I have to ask it to regenerate the code a few times, but for the most part it provides code that works on the first try.
Does this compare to the code that I have previously written that I simply reuse in my unending sea of abandoned projects? Not usually. But for code I don't even have an idea of where to start, it is a pretty useful tool.