SDK 3.5.2 bug - object pool

in SDK 3.5.1 I was able to spawn objects from object pool without an issue.
However when I try to do the same on 3.5.2, it gives this message:

TryToSpawn on ITEMS called before initialized
UnityEngine.Debug:LogError (object)
VRC.SDK3.Components.VRCObjectPool:TryToSpawn ()
VRC.Udon.Wrapper.Modules.ExternVRCSDK3ComponentsVRCObjectPool:__TryToSpawn__UnityEngineGameObject (VRC.Udon.Common.Interfaces.IUdonHeap,System.Span1<uint>) VRC.Udon.VM.UdonVM:Interpret () VRC.Udon.UdonBehaviour:RunProgram (uint) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1030) VRC.Udon.UdonBehaviour:RunProgram (string) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1005) VRC.Udon.UdonBehaviour:SendCustomEvent (string) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1670) VRC.Udon.Wrapper.Modules.ExternVRCUdonCommonInterfacesIUdonEventReceiver:__SendCustomEvent__SystemString__SystemVoid (VRC.Udon.Common.Interfaces.IUdonHeap,System.Span1)
VRC.Udon.VM.UdonVM:Interpret ()
VRC.Udon.UdonBehaviour:RunProgram (uint) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1030)
VRC.Udon.UdonBehaviour:RunProgram (string) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1005)
VRC.Udon.UdonBehaviour:SendCustomEvent (string) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1670)
UdonSharpEditor.UdonSharpGUI:DrawInteractSettings (VRC.Udon.UdonBehaviour) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Editors/UdonSharpGUI.cs:1420)
UdonSharpEditor.UdonSharpGUI:DrawInteractSettings (UnityEngine.Object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Editors/UdonSharpGUI.cs:1446)
UdonSharpEditor.UdonSharpGUI:DrawDefaultUdonSharpBehaviourHeader (UnityEngine.Object,bool,bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Editors/UdonSharpGUI.cs:1485)
UdonSharpEditor.UdonSharpBehaviourOverrideEditor:b__18_0 () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Editors/UdonSharpBehaviourEditor.cs:779)
UdonSharpEditor.UdonSharpBehaviourOverrideEditor/<>c__DisplayClass16_0:b__0 () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Editors/UdonSharpBehaviourEditor.cs:751)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

1 Like

the new beta fixed this.
however in its client sim interaction events dont work.
guess its good thing that in actual local build this aint an issue