vrchat-community / UdonSharp

A compiler for compiling C# to Udon assembly
https://udonsharp.docs.vrchat.com
MIT License
473 stars 51 forks source link

fix: Reloading Domain extremely long in some cases #170

Open FairplexVR opened 2 months ago

FairplexVR commented 2 months ago

When VRChat log path isn't found, Reloading Domain time increases infinitely. I've encountered this issue on Linux and Windows, but in anycase we don't want the watchlog running for nothing if VRChat log path isn't found.

Edit: this is also fixing a lot of editor lag/stutter after a while

Linked canny: https://feedback.vrchat.com/sdk-bug-reports/p/udonsharp-watchlog-causing-extreme-long-reloading-domain-time-and-editor-stutter