while 1 bug
Hi,
It's quite common to have sometimes a bug in the code that ends up printing too often to the logs and it crashes/freezes lens studio.
To reproduce just write
while(1)
{
print("number "+Math.random())
}
If you try to stop this script after a little bit from running you won't be able to because the whole program gets frozen.
This can happen not only on the while(1) case. Maybe you have some script that fires some event every few hundred miliseconds and that's enough to crash. The bad thing is that when you try to open lens studio again it will happen again so only way to fix is editing the script in the folder and then open lens studio.
I think the console logs should have a maximum buffer of like maybe the latest 1000 or 10k lines.
thanks
Marco,
Thanks for report, we are working on this problem.
Best regards,
Pavel