Hello everyone so this morning i wrote a script in microsoft visual related to a game object behaviour, than i passe it to tye game object and when i press the play button in unity , the engine freeze and it stop responding i don’t know if the script that i wrote is heavy on the cpu or it has something to do with my pc configuration but i tried with a simple script and everything was fine but every time i try some complex script it’s start getting buggy .
For my pc i have an i5 with nvidia 820m
So if there is any tweaks that i can use to solve that problem share it with me and thank you for your time
Please show your code and steps to reproduce the issue.
I have had multiple cases over the course of learning Unity of creating endless loops, increasingly taxing calculations and other deadlocks. As a rule of thumb, post your code if you need help. It’s quite possible to lock op Unity.