Upload of world fails with
complete
Scottworld
Unity Version: 2018.4.20f1
SDK3: (latest version - VRCSDK3-UDON-2020.07.16.10.33_Public)
I have tried to remove lighting / rebake.
I have also attempted to upload an older version of the world, (which was working) and it shows the same error.
The editor log: is shown below.
ApiFile file_4faae868-abcd-470f-900b-9c01b7ad21ef: Error: Failed to create file version record.
That file is much too big
The world builds locally fine and I can play and test it locally. (The size comes in at 139mb - so it is not a stupidly large size.) When attempting to do an build and publish the editor errors on an excessively large upload size. (previous uploads have been fine)
[<color=orange>Always</color>] Starting upload
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:Log(Object, Object)
VRC.Core.Logger:Log(String, DebugLevel, Object)
VRCSDK2.<UploadNew>d__42:MoveNext() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeWorldCreation.cs:427)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) (at C:\buildslave\unity\build\Runtime\Export\MonoBehaviour.bindings.cs:91)
VRCSDK2.RuntimeWorldCreation:SetupUpload() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeWorldCreation.cs:406)
UnityEngine.Events.InvokableCall:Invoke() (at C:\buildslave\unity\build\Runtime\Export\UnityEvent.cs:166)
UnityEngine.Events.UnityEvent:Invoke() (at C:\buildslave\unity\build\Runtime\Export\UnityEvent_0.cs:58)
UnityEngine.UI.Button:Press() (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Button.cs:66)
UnityEngine.UI.Button:OnPointerClick(PointerEventData) (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Button.cs:108)
UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\ExecuteEvents.cs:261)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\InputModules\StandaloneInputModule.cs:613)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\InputModules\StandaloneInputModule.cs:510)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\InputModules\StandaloneInputModule.cs:490)
UnityEngine.EventSystems.StandaloneInputModule:Process() (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\InputModules\StandaloneInputModule.cs:254)
UnityEngine.EventSystems.EventSystem:Update() (at C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\EventSystem\EventSystem.cs:377)
(Filename: Assets/VRCSDK/Dependencies/VRChat/Scripts/RuntimeWorldCreation.cs Line: 427)
ApiFile file_4faae868-abcd-470f-900b-9c01b7ad21ef: Error: Failed to create file version record.
That file is much too big
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
VRC.Core.ApiFileHelper:Error(OnFileOpError, ApiFile, String, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:1430)
VRC.Core.<UploadFile>d__22:MoveNext() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:789)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:17)
(Filename: Assets/VRCSDK/Dependencies/VRChat/Scripts/ApiFileHelper.cs Line: 1430)
<color=yellow> wrote retry state: {"C:/Users/Scotty/AppData/Local/Temp/DefaultCompany/VRChatHigashimon/wrld_e778dbc6-6c10-4805-ad00-6a3638dd4873_46_2018.4.20f1_4_standalonewindows_Release.unitypackage":"file_4faae868-abcd-470f-900b-9c01b7ad21ef"}</color>
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, String, Object[])
UnityEngine.Debug:LogFormat(String, Object[])
VRCSDK2.RuntimeAPICreation:SaveUploadRetryState() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:117)
VRCSDK2.RuntimeAPICreation:SaveUploadRetryState(String, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:106)
VRCSDK2.<>c__DisplayClass37_0:<UploadFile>b__1(ApiFile, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:275)
VRC.Core.ApiFileHelper:Error(OnFileOpError, ApiFile, String, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:1432)
VRC.Core.<UploadFile>d__22:MoveNext() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:789)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:17)
(Filename: Assets/VRCSDK/Dependencies/VRChat/Scripts/RuntimeAPICreation.cs Line: 117)
Saved upload retry state to: C:/Users/Scotty/AppData/Local/Temp/DefaultCompany/VRChatHigashimon\4d1f62f26d373644abe430ad47d572bd\upload_retry.dat
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
VRCSDK2.RuntimeAPICreation:SaveUploadRetryState() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:125)
VRCSDK2.RuntimeAPICreation:SaveUploadRetryState(String, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:106)
VRCSDK2.<>c__DisplayClass37_0:<UploadFile>b__1(ApiFile, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\RuntimeAPICreation.cs:275)
VRC.Core.ApiFileHelper:Error(OnFileOpError, ApiFile, String, String) (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:1432)
VRC.Core.<UploadFile>d__22:MoveNext() (at Assets\VRCSDK\Dependencies\VRChat\Scripts\ApiFileHelper.cs:789)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at C:\buildslave\unity\build\Runtime\Export\Coroutines.cs:17)
(Filename: Assets/VRCSDK/Dependencies/VRChat/Scripts/RuntimeAPICreation.cs Line: 125)
Log In
Fax
complete
Congrats on finding a solution! Please let us know if you're still experiencing this issue on the latest SDK.
LuminaryPie
Was having same problem with publishing. I've been beating on this thing for a month, loading/unload assets, removing/changing shaders, etc. Now tried disabling Future Proofing and viola! Fixed! and it all comes down to one checkbox!
Thanks for the link, OhGeezCmon!
I guess one question that remains is why is my unitypackage file getting so big? My project does contain a lot of unused assets in it that are not in the Scene at all.
OhGeezCmon
Looks like the fix is to disable Future Proofing, as this uploads a copy of your unity package, which can be MUCH larger than the vrcw file. This thread explains how to do that: https://www.reddit.com/r/VRchat/comments/b1bd7f/help_cant_upload_avatar_says_future_proofing/
OhGeezCmon
Also having this problem with SDK2... have already reduced texture size, detached my world ID in the scene descriptor, reimported the SDK, and of course restarted Unity. The world size is 228meg, unity package size is 1.3G. Any updates on this?
Scottworld
OhGeezCmon: In the SDK builder settings Turn off "Future Proofing" and try the upload again.