Issues with GPT Stalling When Writing GetComponent<T> Recently

For unknown reasons, since the day before yesterday, whenever the response from GPT includes any version of GetComponent, there have been stalling issues. GPT-4 stops responding entirely, while GPT-3 enters a loop of continuous error outputs and fails to provide an answer.

1 Like

I confirm that I am also having an issue. THe issue seems to be with the <> tokens

I tried on another PC, and the same issue persists. It crashes and goes into an infinite loop. It seems to be a problem with GPT itself. I hope they can fix it soon.

Why did ChatGPT refuse to host a party for TypeScript developers?
Because every time they used <T>, it thought they were narrowing down the guest list!

Same issue here. Can’t get any code work done as it often contains GetComponent and then ChatGPT stalls and crashes… no fun.

I found a workaround! When requesting code edits or examples from ChatGPT and it stalls on angle brackets, ask it to use alternative brackets such as [ and ] for < and >, and then replace them in your code editor.

This worked like a charm and ChatGPT produces code effortlessly. You will have to manually replace the symbols yourself through find and replace though…

1 Like

Thank you for the solution you provided. I tried setting up rules like that, but it still uses when dealing with long code. So, I still hope GPT can recover soon.

Same problem here. Disabling the memory feature or downgrading to v3.5 did not help. React w/Typescript.

I have the same issue as well with v4, any response with angle brackets “<” or “>” causes the system to stall and return an incomplete answer.

The workaround provided by @HankdenDrijver does seem to work, so thanks for that.