I was playing around with blueprints when I decided to make a spectator camera, the first thing I did was put an event tick block then every frame I would set the world position of the camera. Which I found out hard locks my whole computer.
Has this ever happened to you before?
Sounds like an extreme memory leak. The computer may run out of memory when a bunch of information is sent to them at the same time. And when it does, it will have no more space for the OS to run thus forcing the OS to execute the reboot procedure. It seems to me that the data that you are trying to store is extremely huge and fast which leaves no room for the memory handler to the switching.
One way to fix this is to not use the event tick for this particular case. There are many ways you can do it to replace the tick event.
Of course, you are writing code .
This in particular does not crash your computer. you might have made an infinite loop or memory b*mb that halts your process or pc in the worst case.
When debugging, first check out if you can find any logs of unreal engine itself that show the issue. If not, since the pc crashed, open up your OS logger like windows event log and find the warnings / errors leading to the crash.