vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
53 stars 354 forks source link

[BUG} "Building and testing on this platform is not supported" for Android, and VRCCore-Editor.dll is not allowed #498

Closed 3dimka closed 1 week ago

3dimka commented 2 weeks ago

I've been struggling with Android platform for my world project. I'm using latest Unity and VR Chat CC, windows 10 pro.

I installed recommended by VR CHAT CC unity 2022.3.22f1. It has Android platform fully configured and compiling without errors on a default Unity Android project.

But an empty world created by the VR Chat CC, while works for Windows platform, doesn't build for Android. The SDK Control panel says "Building and testing on this platform is not supported" when I switch to Android, so I cannot even start the build. And if I build in Unity I'm getting the following build error:

ArgumentException: The Assembly UnityEditor.CoreModule is referenced by VRCCore-Editor ('Packages/com.vrchat.base/Runtime/VRCSDK/Plugins/VRCCore-Editor.dll'). But the dll is not allowed to be included or could not be found. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary2[TKey,TValue] cache, UnityEditor.BuildTarget target, UnityEditor.ScriptingImplementation scriptingImplementation) (at <80a8ce1980c648dca8e68f0d8aa3b930>:0)

vrchat_world_android_build_problem
orels1 commented 2 weeks ago

Hey! That is expected. You can only build and upload on android, since VRChat doesn't support local android / quest testing. You would need to upload a new build using the buttons at the bottom and then load it up on your mobile device / quest.

3dimka commented 2 weeks ago

Hey! That is expected. You can only build and upload on android, since VRChat doesn't support local android / quest testing. You would need to upload a new build using the buttons at the bottom and then load it up on your mobile device / quest.

I see, thanks. I've entered the world info and that unblocked the android build/upload button. I then uploaded the world and was able to open it on Quest.

Does this mean that there's no way of debugging the android quest world in unity?

orels1 commented 2 weeks ago

Unfortunately, outside of regular play mode testing using ClientSim - there isn't really support for testing android specific things.

Most people just have a separate world ID they use just for testing android content and make a new upload whenever they change something

orels1 commented 1 week ago

I will close this issue as this is not a Creator Companion related issue to begin with. If you have any further questions about the creation process - i encourage you to check out official VRChat Discord or the Forums