Error uploading worlds when adding VRC object Sync (2022.3.22f1)

hi! I can upload the map without any issues as long as I don’t add a VRC Object Sync to an item, but once I add the sync, the build fails. What could be the problem? I have already added VRC Pickup as well…


I’m a total beginner :)
Thx for your help!

[<color=orange>Always] Failed to assign network IDs, 1 errors encountered!
Try using the Network ID Utility to resolve them.
UnityEngine.Debug:LogError (object,UnityEngine.Object)
VRC.Core.Logger:LogError (string,VRC.Core.DebugLevel,UnityEngine.Object)
AssignSceneNetworkIDs:OnPreprocessScene (UnityEngine.SceneManagement.Scene)
VRC.SDKBase.Editor.BuildPipeline.VRCBuildPipelineCallbacks:OnPreprocessScene (UnityEngine.SceneManagement.Scene)
VRC.SDK3.Editor.Builder.VRCWorldAssetExporter:ExportCurrentSceneResource (bool,System.Action1<string>,System.Action1)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResourceInternal (bool)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResource ()
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder/d__115:MoveNext () (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:2199)
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

The VRCSDK build was aborted because the IVRCSDKPreprocessSceneCallback ‘AssignSceneNetworkIDs’ reported a failure.
UnityEngine.Debug:LogError (object)
VRC.SDKBase.Editor.BuildPipeline.VRCBuildPipelineCallbacks:OnPreprocessScene (UnityEngine.SceneManagement.Scene)
VRC.SDK3.Editor.Builder.VRCWorldAssetExporter:ExportCurrentSceneResource (bool,System.Action1<string>,System.Action1)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResourceInternal (bool)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResource ()
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder/d__115:MoveNext () (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:2199)
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()

It’s under the VRChat SDK menu

thank you for replying so fast! but which VRC SDK menu do you mean?

just saw that my udon behaviour synchronization is set to none, could that be the problem?

nah,maybe not ;)

go network id utility and regenerate your id

It worked for me

7 Likes

Im socked this has not has a fix for it yet. Pick ups are pretty common so needing to regenerate a new Network ID every time is kind of messed up.

The steps to run into this problem are a bit convoluted.

You have to add an object to a world, add something that requires network sync, do a build and then change the components on that object.

I ran into this a bunch of times on my first world, and then like once a few weeks ago when I changed the script that a pickup uses.

I build both Android and Windows out of the same scene so my use of network id there is just clicking clear on then item that is unhappy and then doing a build again.

But any other workflow would need the network IDs not automatically cleared.

I know they can’t rescan the object tree aggressively like they do for the avatar warnings in the SDK panel.

Absolute legend thank you for that.

Thank you for the reply. Im not really understanding what you mean though. If its not too much trouble, could you explain it a different way? Thanks in advance.

So how I got around this was Importing something that already has Object Sync on it. This somehow fixed everything with VRC object sync. For anyone wondering I used this object [無料]投げられる箱 / Material Box - taketake1234 - BOOTH