Having the Build Control Panel visible periodically freezes the Unity editor interface
Floatharr
Steps to reproduce:
- Make a new empty project
- Import VRC SDK
- Open the Build Control Panel
- Right click to rotate the camera in circles for about 30 seconds (framerate dependent?), editor should freeze for a few seconds.
- Close the Build Control Panel, repeat step 4, should be able to spin the camera indefinitely without freezing.
More info: Based on tests, Process Monitor shows that Unity.exe reads \Assets\VRCSDK\version.txt roughly 150 times per second while editor is in focus and Build Control Panel is visible, assuming every frame. A freeze of about 2.3 seconds occurs every ~5000-8000 successful read events, 16 bytes each. Having the VRChat Settings panel, and Manage Uploaded Content panel open doesn't produce read events, and doesn't cause the freezing.
SDK Version 2018.12.04.10.25
Unity version 2017.4.15f1
Log In
Floatharr
A double check through the search led me to believe that this is a dupe of this post from January: https://vrchat.canny.io/bug-reports/p/sdk-control-panel-freezes-unity-occasionally
The freezing problem specifically occurs on line 141 of Assets\VRCSDK\Dependencies\VRChat\Editor\VRC_SdkControlPanel.cs in the function VRC.Core.SDKClientUtilities.GetTestClientVersionDate(); and commenting out the line or removing the function call stops the freezing.