hi, I haven’t built a world in a long time and a bunch of stuff has changed such as the introduction of VCC. I couldn’t make VCC work properly, since the window would immediately crash upon startup, but using the CLI I was at least able to download the templates. I then manually copied a template folder to start off as project folder and then installed the VRChat SDK package into it in unity manually. I plopped down a few objects and created some materials, everything first seems to work fine in the in-unity preview player where I can move around.
However, now I want to try and upload it to VRChat and I get a Build Failed error:
and in the console:
I’m thinking the only error that may be relevant here is “AssetBundle was not built”, however its stacktrace also doesn’t tell me a lot of information:
[Always] AssetBundle was not built
UnityEngine.Debug:LogError (object,UnityEngine.Object)
VRC.Core.Logger:LogError (string,VRC.Core.DebugLevel,UnityEngine.Object)
VRC.SDK3.Editor.Builder.VRCWorldAssetExporter:ExportCurrentSceneResource (bool,System.Action`1<string>,System.Action`1<object>)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResourceInternal (bool)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResource ()
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResourceAndRun ()
VRC.SDK3.Editor.VRCSdkControlPanelWorldBuilder/<Build>d__114:MoveNext () (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:2026)
UnityEngine.UnitySynchronizationContext:ExecuteTasks () (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)
where the source line is just the VRC_SdkBuilder.RunExportSceneResourceAndRun();
call.
I had working world exports before, but that’s quite a while ago and now I don’t remember if I did it natively on Linux or if I used unity in wine back then, since the Linux version of Unity used to be quite buggy and experimental at that point.
This is using
Unity 2022.3.6f1 (LTS)
with Windows Build Support (Mono)
and Linux Build Support (IL2CPP)
Unity Hub 3.6.1 (60ffef8) <- although I doubt this is relevant
vpm 0.1.22 (but only the downloaded template used from it, since the project creation didn't work)
I would share the project folder but it’s 1.3 GB even though there is almost nothing in there, so I don’t really want to do that.
Any ideas how to fix this?
Edit: this also happens if I try with a completely blank project and manually add the VRChat world objects and settings without the template.
Thanks,
WebFreak