[SDK 3.8.1] Console spams 'Force-enabling Fog'
tracked
Shiro K
The log generates an 'Force-enabling Fog' entry every time a change occours in the inspector. This seems to be introduced with the SDK 3.8.1.
Log In
HunterDaFloofer
I can confirm that this issue also happens to me too. As previously said, it does happen when you are on the builder tab whether it be clicking into the tab, opening the project to default to said tab, or changing any variables while the tab is open (though, that one is inconsistent)
This post was marked as
tracked
White Lotuz
needs more information
Hey there, can you share us more info on your project? Are you able to reproduce this on any new project using SDK 3.8.1? Or only if certain steps are followed?
Shiro K
White Lotuz
Hi Lotuz
It appears in two existing projects (one of it uses fog). It is already in the log there as soon I open the project. Or everytime I change a value somewhere in the inspector.
It happened also in a clean empty project - but only once and I don't know based on what. Let me investigate more...
Here also the full stacktraces - seems to have different triggers for it:
Force-enabling Fog
UnityEngine.Debug:Log (object,UnityEngine.Object)
VRC.Core.Logger:Log (string,string,UnityEngine.Object)
VRC.Editor.EnvConfig:GetFogSettings () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/EnvConfig.cs:928)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:CheckFogSettings () (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:841)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:OnGUISceneCheck (VRC.SDKBase.VRC_SceneDescriptor) (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:477)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:CreateValidationsGUI (UnityEngine.UIElements.VisualElement) (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:243)
VRCSdkControlPanel:RunValidations () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelBuilder.cs:883)
VRCSdkControlPanel/<>c__DisplayClass204_0:<ShowBuilders>b__1 () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelBuilder.cs:822)
UnityEditor.RetainedMode:UpdateSchedulers ()
and
...
Shiro K
White Lotuz
Second stacktrace:
Force-enabling Fog
UnityEngine.Debug:Log (object,UnityEngine.Object)
VRC.Core.Logger:Log (string,string,UnityEngine.Object)
VRC.Editor.EnvConfig:GetFogSettings () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/EnvConfig.cs:928)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:CheckFogSettings () (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:841)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:OnGUISceneCheck (VRC.SDKBase.VRC_SceneDescriptor) (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:477)
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder:CreateValidationsGUI (UnityEngine.UIElements.VisualElement) (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:243)
VRCSdkControlPanel:RunValidations () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/ControlPanel/VRCSdkControlPanelBuilder.cs:883)
VRC.SDKBase.Editor.DebouncedCall/<<Invoke>b__7_0>d:MoveNext () (at ./Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/DebouncedCall.cs:69)
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
Cysharp.Threading.Tasks.AwaiterActions:Continuation (object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.cs:21)
Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1<object>:TrySetResult (object) (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTaskCompletionSource.cs:139)
Cysharp.Threading.Tasks.UniTask/WaitUntilPromise:MoveNext () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/UniTask.WaitUntil.cs:129)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:RunCore () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:175)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Update () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:145)
Cysharp.Threading.Tasks.Internal.PlayerLoopRunner:Run () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/Internal/PlayerLoopRunner.cs:104)
Cysharp.Threading.Tasks.PlayerLoopHelper:ForceEditorPlayerLoopUpdate () (at ./Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/UniTask/Runtime/PlayerLoopHelper.cs:356)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
Shiro K
White Lotuz
Ok - found how you can reproduce. You have to be on the Builder tab (it appears also immediately after login):
White Lotuz
Shiro K noted thanks for all that useful info! I'll share it with the team for review
StormRel
tracked