So I made several backups of my world thinking I’m saving myself if something went awry. Nothing is wrong with my main project file but when I make a backup and open it, I’m slapped with multiple UdonSharp Errors. I’ll list them and the steps I took to try and fix them. Please overlook the name of the project, I know it’s long and needs shortened.
ERROR #1
Failed to find entry-points:
System.Exception: Unexpected exception while collecting types in assembly Unity.PlasticSCM.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
—> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: ‘unityplastic, Version=11.0.16.8125, Culture=neutral, PublicKeyToken=a107c9c6e34c8876’ —> System.Exception: Failed to resolve assembly ‘unityplastic, Version=11.0.16.8125, Culture=neutral, PublicKeyToken=a107c9c6e34c8876’ in directories: C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\unityjit-win32
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.core.vpm-resolver\Editor\Dependencies
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Dependencies\librsync
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins\Harmony
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Editor\VRCSDK\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.ide.rider@3.0.26\Rider\Editor
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.newtonsoft-json@3.2.1\Runtime
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Dependencies\Managed
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Runtime\Udon\External
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.burst@1.8.7
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.burst@1.8.7\Unity.Burst.CodeGen
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\PlaybackEngines\WindowsStandaloneSupport
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.mono-cecil@1.11.4
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.collab-proxy@2.0.7\Lib\Editor\PlasticSCM
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Runtime\VRCSDK\Plugins
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\Managed
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.newtonsoft-json@3.2.1\Runtime\AOT
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.ext.nunit@1.0.6\net35\unity-custom
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.collections@2.1.4\Unity.Collections.LowLevel.ILSupport
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Editor\Udon\External
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\Managed\UnityEngine
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\ScriptAssemblies —> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: ‘Unity.Plastic.Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=b9a188c8922137c6’ —> System.Exception: Failed to resolve assembly ‘Unity.Plastic.Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=b9a188c8922137c6’ in directories: C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\MonoBleedingEdge\lib\mono\unityjit-win32
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.core.vpm-resolver\Editor\Dependencies
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Dependencies\librsync
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins\Harmony
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Editor\VRCSDK\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.ide.rider@3.0.26\Rider\Editor
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.newtonsoft-json@3.2.1\Runtime
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Plugins
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.base\Runtime\VRCSDK\Dependencies\Managed
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Runtime\Udon\External
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.burst@1.8.7
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.burst@1.8.7\Unity.Burst.CodeGen
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\PlaybackEngines\WindowsStandaloneSupport
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.mono-cecil@1.11.4
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.collab-proxy@2.0.7\Lib\Editor\PlasticSCM
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Runtime\VRCSDK\Plugins
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\Managed
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.nuget.newtonsoft-json@3.2.1\Runtime\AOT
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.ext.nunit@1.0.6\net35\unity-custom
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.collections@2.1.4\Unity.Collections.LowLevel.ILSupport
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Editor\Udon\External
C:\Program Files\Unity\Hub\Editor\2022.3.6f1\Editor\Data\Managed\UnityEngine
C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\ScriptAssemblies —> System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Library\PackageCache\com.unity.collab-proxy@2.0.7\Lib\Editor\PlasticSCM\Unity.Plastic.Newtonsoft.Json.dll”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at Mono.Cecil.ModuleDefinition.GetFileStream (System.String fileName, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00006] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x00008] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.BaseAssemblyResolver.GetAssembly (System.String file, Mono.Cecil.ReaderParameters parameters) [0x0000f] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.BaseAssemblyResolver.SearchDirectory (Mono.Cecil.AssemblyNameReference name, System.Collections.Generic.IEnumerable1[T] directories, Mono.Cecil.ReaderParameters parameters) [0x00073] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.BaseAssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name, Mono.Cecil.ReaderParameters parameters) [0x0000c] in <853812ae52c341daaef3c62ecdb86b32>:0 at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00013] in <532a8a169e6a4953b5d9a4c213b71772>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- at zzzUnity.Burst.CodeGen.AssemblyResolver.Resolve (Mono.Cecil.AssemblyNameReference name) [0x00060] in <532a8a169e6a4953b5d9a4c213b71772>:0 at Burst.Compiler.IL.AssemblyLoader.Resolve (Mono.Cecil.AssemblyNameReference name) [0x0007e] in <532a8a169e6a4953b5d9a4c213b71772>:0 at Mono.Cecil.MetadataResolver.Resolve (Mono.Cecil.TypeReference type) [0x0003a] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.ModuleDefinition.Resolve (Mono.Cecil.TypeReference type) [0x00006] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.TypeReference.Resolve () [0x00006] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.Mixin.CheckedResolve (Mono.Cecil.TypeReference self) [0x00000] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeEnum (Mono.Cecil.TypeReference enum_type) [0x00000] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeElementValue (Mono.Cecil.TypeReference type) [0x00043] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeElement (Mono.Cecil.TypeReference type) [0x00015] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeFixedArgument (Mono.Cecil.TypeReference type) [0x00015] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeNamedArgument (Mono.Collections.Generic.Collection
1[Mono.Cecil.CustomAttributeNamedArgument]& fields, Mono.Collections.Generic.Collection1[Mono.Cecil.CustomAttributeNamedArgument]& properties) [0x00039] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.SignatureReader.ReadCustomAttributeNamedArguments (System.UInt16 count, Mono.Collections.Generic.Collection
1[Mono.Cecil.CustomAttributeNamedArgument]& fields, Mono.Collections.Generic.Collection1[Mono.Cecil.CustomAttributeNamedArgument]& properties) [0x0000d] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.MetadataReader.ReadCustomAttributeSignature (Mono.Cecil.CustomAttribute attribute) [0x00055] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.CustomAttribute.<Resolve>b__35_0 (Mono.Cecil.CustomAttribute attribute, Mono.Cecil.MetadataReader reader) [0x00000] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.ModuleDefinition.Read[TItem] (TItem item, System.Action
2[T1,T2] read) [0x00029] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.CustomAttribute.Resolve () [0x00037] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.CustomAttribute.get_ConstructorArguments () [0x00000] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ImmediateModuleReader.ReadCustomAttributes (Mono.Cecil.ICustomAttributeProvider provider) [0x00024] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ImmediateModuleReader.ReadProperties (Mono.Cecil.TypeDefinition type) [0x00031] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ImmediateModuleReader.ReadType (Mono.Cecil.TypeDefinition type) [0x00068] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ImmediateModuleReader.ReadTypes (Mono.Collections.Generic.Collection1[T] types) [0x0000c] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.ImmediateModuleReader.ReadModule (Mono.Cecil.ModuleDefinition module, System.Boolean resolve_attributes) [0x0004f] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.ImmediateModuleReader.<ReadModule>b__2_0 (Mono.Cecil.ModuleDefinition module, Mono.Cecil.MetadataReader reader) [0x00007] in <853812ae52c341daaef3c62ecdb86b32>:0 at Mono.Cecil.ModuleDefinition.Read[TItem] (TItem item, System.Action
2[T1,T2] read) [0x00029] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ImmediateModuleReader.ReadModule () [0x00000] in <853812ae52c341daaef3c62ecdb86b32>:0
at Mono.Cecil.ModuleReader.CreateModule (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parame
ERROR #2
[UdonSharp] Unable to read source file for hashing. Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\GetComponentShim.cs”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in :0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.ReadAllText (System.String path) [0x0002c] in :0
at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUtils.cs:398
at UdonSharp.UdonSharpEditorCache.HashSourceFile (UnityEditor.MonoScript script) [0x00007] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpEditorCache.cs:363
UnityEngine.Debug:LogError (object)
UdonSharp.UdonSharpUtils:LogError (object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpUtils.cs:324)
UdonSharp.UdonSharpEditorCache:HashSourceFile (UnityEditor.MonoScript) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorCache.cs:368)
UdonSharp.UdonSharpEditorCache:IsSourceFileDirty (UnityEditor.MonoScript) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorCache.cs:266)
UdonSharp.UdonSharpProgramAsset:IsAnyScriptDirty () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpProgramAsset.cs:258)
UdonSharp.UdonSharpProgramAsset:CompileAllCsPrograms (bool,bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpProgramAsset.cs:292)
UdonSharpEditor.UdonSharpEditorManager:RunPostAssemblyBuildRefresh () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:133)
UnityEditor.AssemblyReloadEvents:OnAfterAssemblyReload ()
ERROR #3
[UdonSharp] All Unity C# compiler errors must be resolved before running an UdonSharp compile.
UnityEngine.Debug:LogError (object)
UdonSharp.UdonSharpUtils:LogError (object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpUtils.cs:324)
UdonSharp.Compiler.UdonSharpCompilerV1:Compile (UdonSharp.Compiler.UdonSharpCompileOptions) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Compiler/UdonSharpCompilerV1.cs:263)
UdonSharp.UdonSharpProgramAsset:CompileAllCsPrograms (bool,bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpProgramAsset.cs:295)
UdonSharpEditor.UdonSharpEditorManager:RunPostAssemblyBuildRefresh () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:133)
UnityEditor.AssemblyReloadEvents:OnAfterAssemblyReload ()
ERROR #4
[UdonSharp] C# scripts have compile errors, cannot run scene upgrade.
UnityEngine.Debug:LogError (object)
UdonSharp.UdonSharpUtils:LogError (object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpUtils.cs:324)
UdonSharpEditor.UdonSharpEditorUtility:UpgradeSceneBehaviours (System.Collections.Generic.IEnumerable`1<VRC.Udon.UdonBehaviour>) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorUtility.cs:646)
UdonSharpEditor.UdonSharpEditorManager:OnEditorUpdate () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:781)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
ERROR #5
DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\ClientSim\Runtime\Resources\ClientSim\Prefabs\ClientSimAvatar.prefab”
System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at :0)
System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) (at :0)
(wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at :0)
System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) (at :0)
(wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) (at :0)
System.IO.File.ReadAllText (System.String path) (at :0)
Cyan.CT.Editor.CyanTriggerPrefabMigrator.VerifyAndMigratePrefabs (Cyan.CT.Editor.CyanTriggerPrefabDependency dependencies) (at Assets/CyanTrigger/Editor/Migration/CyanTriggerPrefabMigrator.cs:150)
Cyan.CT.Editor.CyanTriggerPrefabMigrator.MigratePrefabs (System.Collections.Generic.IList`1[T] paths) (at Assets/CyanTrigger/Editor/Migration/CyanTriggerPrefabMigrator.cs:123)
Cyan.CT.Editor.CyanTriggerPrefabMigrator.DelayedMigrateAllPrefabs () (at Assets/CyanTrigger/Editor/Migration/CyanTriggerPrefabMigrator.cs:76)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
So to my understanding it’s saying it can’t find the files in some areas but when I look in my folders for the project I find them no issues.
A few steps I’ve taken are trying different backups (all have the same results)
I’ve took advise and downgraded the SDK, opened the project, stepped up to SDK it was at before (didn’t work)
I’ve deleted the UdonSharp folder and swapped SDK versions, adding it back (didn’t work)
Reimported all assets (didn’t work)
I’ve tried replacing the UdonSharp files with files from the original working project’s via copy and paste UdonSharp files (didn’t work)
Please bear in mind I’ve no clue what I’m doing what I’m doing when it comes to Scripting issues. I’ve done all I know. I’m at a standstill because I don’t want to keep using the Original for fear of some small edit messing up the map and not having a backup I can rely on. If anyone can weigh in and help me with this I’d be grateful. If you require any additional information from the project I’ll happily oblige.
Almost forgot when I click play I get some errors that are different likely due to Unity not knowing what to do with UdonSharp I’m guessing
ERRORS AFTER PRESSING PLAY
ERROR #1
[UdonSharp] Unable to read source file for hashing. Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\GetComponentShim.cs”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in :0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.ReadAllText (System.String path) [0x0002c] in :0
at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUtils.cs:398
at UdonSharp.UdonSharpEditorCache.HashSourceFile (UnityEditor.MonoScript script) [0x00007] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpEditorCache.cs:363
UnityEngine.Debug:LogError (object)
UdonSharp.UdonSharpUtils:LogError (object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpUtils.cs:324)
UdonSharp.UdonSharpEditorCache:HashSourceFile (UnityEditor.MonoScript) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorCache.cs:368)
UdonSharp.UdonSharpEditorCache:IsSourceFileDirty (UnityEditor.MonoScript) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorCache.cs:266)
UdonSharp.UdonSharpProgramAsset:IsAnyScriptDirty () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpProgramAsset.cs:258)
UdonSharp.UdonSharpProgramAsset:CompileAllCsPrograms (bool,bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpProgramAsset.cs:292)
UdonSharpEditor.UdonSharpEditorManager:RunPostAssemblyBuildRefresh () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:133)
UnityEditor.AssemblyReloadEvents:OnAfterAssemblyReload ()
ERROR #2
Field for System.Boolean does not exist
UnityEngine.Debug:LogError (object)
UdonSharp.Serialization.DefaultSerializer1<bool>:Write (UdonSharp.Serialization.IValueStorage,bool modreq(System.Runtime.InteropServices.InAttribute)&) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Serializers/DefaultSerializer.cs:52) (wrapper dynamic-method) object:Dynamic_ReimajoBoothAssets.PickupSync_Write (UdonSharp.Serialization.IValueStorage[],ReimajoBoothAssets.PickupSync&,bool) UdonSharp.Serialization.UdonSharpBehaviourFormatterEmitter/EmittedFormatter
1<ReimajoBoothAssets.PickupSync>:Write (UdonSharp.Serialization.IValueStorage,ReimajoBoothAssets.PickupSync) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Formatters/UdonSharpBehaviourFormatterEmitter.cs:127)
UdonSharp.Serialization.Formatter1<ReimajoBoothAssets.PickupSync>:UdonSharp.Serialization.IFormatter.Write (UdonSharp.Serialization.IValueStorage,object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Formatter.cs:33) UdonSharp.Serialization.UdonSharpBehaviourSerializer:Write (UdonSharp.Serialization.IValueStorage,UdonSharp.UdonSharpBehaviour modreq(System.Runtime.InteropServices.InAttribute)&) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Serializers/UdonSharpBehaviourSerializer.cs:152) UdonSharp.Serialization.Serializer
1<UdonSharp.UdonSharpBehaviour>:Serialize (UdonSharp.Serialization.IValueStorage,UdonSharp.UdonSharpBehaviour modreq(System.Runtime.InteropServices.InAttribute)&) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Serializer.cs:162)
UdonSharp.Serialization.UdonSharpBehaviourSerializer/UdonSharpBehaviourTypedWrapper1<ReimajoBoothAssets.PickupSync>:Write (UdonSharp.Serialization.IValueStorage,ReimajoBoothAssets.PickupSync modreq(System.Runtime.InteropServices.InAttribute)&) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Serializers/UdonSharpBehaviourSerializer.cs:203) UdonSharp.Serialization.Serializer
1<ReimajoBoothAssets.PickupSync>:WriteWeak (UdonSharp.Serialization.IValueStorage,object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Serialization/Serializer.cs:148)
UdonSharpEditor.UdonSharpEditorUtility:CopyProxyToUdon (UdonSharp.UdonSharpBehaviour,UdonSharpEditor.ProxySerializationPolicy) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorUtility.cs:1179)
UdonSharpEditor.UdonSharpEditorUtility:CollectUdonSharpBehaviourRootDependencies (UdonSharp.UdonSharpBehaviour) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorUtility.cs:1121)
UdonSharpEditor.UdonSharpEditorManager:CollectAllReferencedPrefabRoots (System.Collections.Generic.IEnumerable1<VRC.Udon.UdonBehaviour>) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:1119) UdonSharpEditor.UdonSharpEditorManager:PrepareUdonSharpBehavioursForPlay (System.Collections.Generic.IEnumerable
1<VRC.Udon.UdonBehaviour>,bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:1824)
UdonSharpEditor.UdonSharpEditorManager:OnSceneBuildInternal (bool) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:95)
UdonSharpEditor.UdonSharpEditorManager:OnSceneBuild () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:62)
UnityEditor.Build.BuildPipelineInterfaces:OnSceneProcess (UnityEngine.SceneManagement.Scene,UnityEditor.Build.Reporting.BuildReport)
ERROR #3
Disregard I apparently had an object meant to be used on an avatar that had contact receiver and parent constraints which I’ve now removed
Now I’m getting a looping error that looks like this
The error for that states
[UdonSharp] System.AggregateException: One or more errors occurred. (Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\InstantiationShim.cs”) (Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\GetComponentShim.cs”) (Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\CompilerConstants.cs”) (Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\UdonSharpBehaviourMethods.cs”) —> System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\InstantiationShim.cs”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in :0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.ReadAllText (System.String path) [0x0002c] in :0
at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUtils.cs:398
at UdonSharp.Compiler.CompilationContext+<>c__DisplayClass38_0.b__0 (System.String currentSource) [0x00000] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\CompilationContext.cs:185
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0`2[TSource,TLocal].b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x00103] in :0
— End of stack trace from previous location where exception was thrown —
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_02[TSource,TLocal].<PartitionerForEachWorker>b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x0025f] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.Threading.Tasks.TaskReplicator+Replica
1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in :0
at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in :0
— End of inner exception stack trace —
at System.Threading.Tasks.TaskReplicator.Run[TState] (System.Threading.Tasks.TaskReplicator+ReplicatableUserAction1[TState] action, System.Threading.Tasks.ParallelOptions options, System.Boolean stopOnFirstFailure) [0x0005b] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal] (System.Collections.Concurrent.Partitioner
1[TSource] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action1[T] simpleBody, System.Action
2[T1,T2] bodyWithState, System.Action3[T1,T2,T3] bodyWithStateAndIndex, System.Func
4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func
1[TResult] localInit, System.Action`1[T] localFinally) [0x0017c] in :0
— End of stack trace from previous location where exception was thrown —
at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException (System.Collections.ICollection exceptions, System.Threading.CancellationToken cancelToken, System.Exception otherException) [0x0000b] in :0
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal] (System.Collections.Concurrent.Partitioner1[TSource] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action
1[T] simpleBody, System.Action2[T1,T2] bodyWithState, System.Action
3[T1,T2,T3] bodyWithStateAndIndex, System.Func4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func
5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func1[TResult] localInit, System.Action
1[T] localFinally) [0x001db] in :0
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal] (System.Collections.Generic.IEnumerable1[T] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action
1[T] body, System.Action2[T1,T2] bodyWithState, System.Action
3[T1,T2,T3] bodyWithStateAndIndex, System.Func4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func
5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func1[TResult] localInit, System.Action
1[T] localFinally) [0x00050] in :0
at System.Threading.Tasks.Parallel.ForEach[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Action
1[T] body) [0x0001c] in :0
at UdonSharp.Compiler.CompilationContext.LoadSyntaxTreesAndCreateModules (System.Collections.Generic.IEnumerable1[T] sourcePaths, System.String[] scriptingDefines) [0x00018] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\CompilationContext.cs:183 at UdonSharp.Compiler.UdonSharpCompilerV1.Compile (UdonSharp.Compiler.CompilationContext compilationContext, System.Collections.Generic.IReadOnlyDictionary
2[TKey,TValue] rootProgramLookup, System.Collections.Generic.IEnumerable1[T] allSourcePaths, System.String[] scriptingDefines) [0x00024] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\UdonSharpCompilerV1.cs:406 at UdonSharp.Compiler.UdonSharpCompilerV1+<>c__DisplayClass18_0.<Compile>b__0 () [0x00000] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\UdonSharpCompilerV1.cs:333 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0 ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\InstantiationShim.cs" at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string,System.Text.Encoding,bool) at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.IO.File.ReadAllText (System.String path) [0x0002c] in <eef08f56e2e042f1b3027eca477293d9>:0 at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUtils.cs:398 at UdonSharp.Compiler.CompilationContext+<>c__DisplayClass38_0.<LoadSyntaxTreesAndCreateModules>b__0 (System.String currentSource) [0x00000] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\CompilationContext.cs:185 at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0
2[TSource,TLocal].b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x00103] in :0
— End of stack trace from previous location where exception was thrown —
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_02[TSource,TLocal].<PartitionerForEachWorker>b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x0025f] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.Threading.Tasks.TaskReplicator+Replica
1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in :0
at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in :0 <—
—> (Inner Exception #1) System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\GetComponentShim.cs”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in :0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.ReadAllText (System.String path) [0x0002c] in :0
at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUtils.cs:398
at UdonSharp.Compiler.CompilationContext+<>c__DisplayClass38_0.b__0 (System.String currentSource) [0x00000] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\Compiler\CompilationContext.cs:185
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0`2[TSource,TLocal].b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x00103] in :0
— End of stack trace from previous location where exception was thrown —
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_02[TSource,TLocal].<PartitionerForEachWorker>b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x0025f] in <eef08f56e2e042f1b3027eca477293d9>:0 at System.Threading.Tasks.TaskReplicator+Replica
1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in :0
at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in :0 <—
—> (Inner Exception #2) System.IO.DirectoryNotFoundException: Could not find a part of the path “C:\Users\User\AppData\Local\VRChatCreatorCompanion\Project Backups\Furry Spring Home - Current Version - Copy - Copy - Copy (10)-backup-2024-04-26T04.00.18\Packages\com.vrchat.worlds\Integrations\UdonSharp\Runtime\Libraries\CompilerInternal\CompilerConstants.cs”
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream…ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream…ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00055] in :0
at System.IO.StreamReader…ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader…ctor(string,System.Text.Encoding,bool)
at System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in :0
at System.IO.File.ReadAllText (System.String path) [0x0002c] in :0
at UdonSharp.UdonSharpUtils.ReadFileTextSync (System.String filePath, System.Single timeoutSeconds) [0x00032] in .\Packages\com.vrchat.worlds\Integrations\UdonSharp\Editor\UdonSharpUt
I’m at a loss with what to do, what’s more odd is that it lets me enter play mode and everything works but I get a UdonBehavior exception
UdonBehavior Exception
[UdonBehaviour] An exception occurred during Udon execution, this UdonBehaviour will be halted.
VRC.Udon.VM.UdonVMException: The VM encountered an error!
Exception Message:
An exception occurred during EXTERN to ‘UnityEngineMaterial.__SetFloat__SystemString_SystemSingle__SystemVoid’.
Parameter Addresses: 0x00000003, 0x0000000C, 0x00000007
Object reference not set to an instance of an object
Program Counter was at: 344
Stack Dump:
0: 0x00000008
Heap Dump:
0x00000000: -4316205808857161919
0x00000001: FlickeringStars
0x00000002: 4294967295
0x00000003: null
0x00000004: 0.5
0x00000005: 0.5
0x00000006: 0.0918438
0x00000007: 0.2613367
0x00000008: 4294967295
0x00000009: null
0x0000000A: Skybox material is not set!
0x0000000B: 0
0x0000000C: _FlickerValue
0x0000000D: null
0x0000000E: null
0x0000000F: True
0x00000010: 0.1836876
0x00000011: 0.0918438
0x00000012: 0.5226734
0x00000013: UnityEngineObject.__op_Equality__UnityEngineObject_UnityEngineObject__SystemBoolean
0x00000014: UnityEngineDebug.__LogError__SystemObject__SystemVoid
0x00000015: UnityEngineRenderSettings.__set_skybox__UnityEngineMaterial__SystemVoid
0x00000016: UnityEngineTime.__get_deltaTime__SystemSingle
0x00000017: SystemSingle.__op_Multiplication__SystemSingle_SystemSingle__SystemSingle
0x00000018: SystemSingle.__op_Addition__SystemSingle_SystemSingle__SystemSingle
0x00000019: UnityEngineMathf.__PerlinNoise__SystemSingle_SystemSingle__SystemSingle
0x0000001A: UnityEngineMaterial.__SetFloat__SystemString_SystemSingle__SystemVoid
Inner Exception:
—> VRC.Udon.VM.UdonVMException: An exception occurred during EXTERN to ‘UnityEngineMaterial.__SetFloat__SystemString_SystemSingle__SystemVoid’.
Parameter Addresses: 0x00000003, 0x0000000C, 0x00000007
—> System.NullReferenceException: Object reference not set to an instance of an object
at VRC.Udon.Wrapper.Modules.ExternUnityEngineMaterial.__SetFloat__SystemString_SystemSingle__SystemVoid (VRC.Udon.Common.Interfaces.IUdonHeap heap, System.Span`1[T] parameterAddresses) [0x0003d] in <8c446a053037475394d898f36cca1fdf>:0
at VRC.Udon.VM.UdonVM.Interpret () [0x00273] in :0
— End of inner exception stack trace —
at VRC.Udon.VM.UdonVM.Interpret () [0x0033c] in :0
— End of inner exception stack trace —
at VRC.Udon.VM.UdonVM.Interpret () [0x00436] in :0
at VRC.Udon.UdonBehaviour.RunProgram (System.UInt32 entryPoint) [0x00058] in .\Packages\com.vrchat.worlds\Runtime\Udon\UdonBehaviour.cs:1029
UnityEngine.Debug:LogError (object,UnityEngine.Object)
VRC.Core.Logger:LogError (string,int,UnityEngine.Object)
VRC.Udon.UdonBehaviour:RunProgram (uint) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1043)
VRC.Udon.UdonBehaviour:RunEvent (string) (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:1232)
VRC.Udon.UdonBehaviour:ManagedUpdate () (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonBehaviour.cs:535)
VRC.Udon.UdonManager:Update () (at ./Packages/com.vrchat.worlds/Runtime/Udon/UdonManager.cs:271)
Also Internal Compiler Error
[UdonSharp] internal compiler error, dumping exceptions. Please report to Merlin
UnityEngine.Debug:LogError (object)
UdonSharp.UdonSharpUtils:LogError (object) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpUtils.cs:324)
UdonSharp.Compiler.UdonSharpCompilerV1:TickCompile () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Compiler/UdonSharpCompilerV1.cs:152)
UdonSharp.Compiler.UdonSharpCompilerV1:WaitForCompile () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/Compiler/UdonSharpCompilerV1.cs:221)
UdonSharpEditor.UdonSharpEditorManager:OnChangePlayMode (UnityEditor.PlayModeStateChange) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:689)
UnityEditor.EditorApplication:Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange)