how to fix this unity crash? and how to upload from vrca file?
-
for background information i recently found out how to get a vrca file of an avatar thats really good that could get deleted so i want to upload it privately.
i have the file for the avatar and everything and it works fine putting it in unity but when i try to drag the prefab into the scene i instantly get this
i dont know any way how to fix this but i think it could be because of the ? files in shaders please someone help me -
i dont think the second photo worked
and i noticed in the console
TypeLoadException: Could not load type VRC.SDK3.Avatars.Components.VRCStation, VRCSDK3A, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null)
System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) (at <eef08f56e2e042f1b3027eca477293d9>:0)
System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at <eef08f56e2e042f1b3027eca477293d9>:0)
System.RuntimeType.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) (at <eef08f56e2e042f1b3027eca477293d9>:0)
UnityEditor.CustomEditorAttributes.Rebuild () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.CustomEditorAttributes.FindCustomEditorTypeByType (System.Type type, System.Boolean multiEdit) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.CustomEditorAttributes.FindCustomEditorType (UnityEngine.Object o, System.Boolean multiEdit) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.PropertyEditor.IsMultiEditingSupported (UnityEditor.Editor editor, UnityEngine.Object target, UnityEditor.InspectorMode mode) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.UIElements.EditorElement.HeaderOnGUI () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <d30253adcd2a48faba9ee2264e211f5a>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <4397ca26b8a24183a25a95ffae967e39>:0)
keeps on spamming
help? -
ive tried doing the hotswap thing and that doesnt work at all and does nothing, ive tried uploading it normally too and it just says "missing script" or
BuilderException: Failed to build the Avatar, check logs for more details
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.Build (UnityEngine.GameObject target, System.Boolean testAvatar) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2141)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.Build (UnityEngine.GameObject target) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2331)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder.BuildAndUpload (UnityEngine.GameObject target, VRC.SDKBase.Editor.Api.VRCAvatar avatar, System.String thumbnailPath, System.Threading.CancellationToken cancellationToken) (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:2346)
VRC.SDK3A.Editor.VRCSdkControlPanelAvatarBuilder+<>c__DisplayClass104_0.<CreateBuildGUI>b__4 () (at ./Packages/com.vrchat.avatars/Editor/VRCSDK/SDK3A/VRCSdkControlPanelAvatarBuilder.cs:1898)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <eef08f56e2e042f1b3027eca477293d9>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <b41119cc6741409ea29f63c7f98de938>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <b41119cc6741409ea29f63c7f98de938>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <b41119cc6741409ea29f63c7f98de938>:0)im very new to unity things
-
ive noticed a bigger problem, i dont think i got the actual vrca file at all, it just says data and the sars hotswap thing wont detect it. what do i do??? i did the method to get it that was here https://forum.ripper.store/topic/28592/tutorial-how-to-find-a-vrca?=1724653090454 but did i do it wrong?
-
@standstoreman gotta manually find what components the missing scripts are on and remove them
-
@OrangeBurger but wouldnt that remove that feature from the avi? i checked and its on the main part of the avi and without it itd just be useless
-
@standstoreman a "missing script" already isn't functioning, it happens when theres a missing asset like usually Dynamic bones