MerlinVR/UdonSharp

Sync & networking issues

ancientnick opened this issue · 1 comments

I've been getting errors that contain a lot of sync and networking issues in my project
here are all of the errors in the order they appear

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(157,35): error CS1061: 'UdonBehaviour' does not contain a definition for 'SyncMethod' and no accessible extension method 'SyncMethod' accepting a first argument of type 'UdonBehaviour' could be found (are you missing a using directive or an assembly reference?)

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(157,59): error CS0117: 'Networking' does not contain a definition for 'SyncType'

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(160,35): error CS1061: 'UdonBehaviour' does not contain a definition for 'SyncMethod' and no accessible extension method 'SyncMethod' accepting a first argument of type 'UdonBehaviour' could be found (are you missing a using directive or an assembly reference?)

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(160,59): error CS0117: 'Networking' does not contain a definition for 'SyncType'

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(163,35): error CS1061: 'UdonBehaviour' does not contain a definition for 'SyncMethod' and no accessible extension method 'SyncMethod' accepting a first argument of type 'UdonBehaviour' could be found (are you missing a using directive or an assembly reference?)

Assets\UdonSharp\Editor\Editors\UdonSharpComponentExtensions.cs(163,59): error CS0117: 'Networking' does not contain a definition for 'SyncType'

Assets\UdonSharp\Editor\Editors\UdonSharpGUI.cs(73,31): error CS1061: 'UdonBehaviour' does not contain a definition for 'SyncMethod' and no accessible extension method 'SyncMethod' accepting a first argument of type 'UdonBehaviour' could be found (are you missing a using directive or an assembly reference?)

Assets\UdonSharp\Editor\Editors\UdonSharpGUI.cs(73,57): error CS0426: The type name 'SyncType' does not exist in the type 'Networking'

this was after importing the newest version

I'm not sure if I did something wrong or it needs to be fixed in the programing

Make sure you're using the latest VRCSDK and U# version. If it still does not work reimport both following the install instructions until it works.