[3.7.6-beta.1] Allow defining a mobile variant for Multi-Build
tracked
Buddy_DE
On avatars, we usually only use the built-in/VRChat shaders for mobile variants.
The PC Variants use custom shaders like poiyomi and liltoon.
Meaning the Multibuild will always fail since we can't target other avatars in the scene for different platforms.
As is, Multibuild is only really useful for world creators.
Please add an option to assign different avatars for mobile builds, and also switch back to the original build target after completion.
Log In
White Lotuz
tracked
White Lotuz
Merged in a post:
[SDK 3.7.6-beta.1] Mutli platform build is not compatible with tools like Easy Quest Switch
DrBlackRat
Issue:
Using something like easy quest switch to turn off the PC version of an Avatar while at the same time turning on the Android version does not work with the new multi platform build tool.
Doing so causes it to try to build the disabled avatar in the scene which results in an error (e.g. due to it having PC only shaders).
This also breaks the SDK UI btw, Alerts don't show unless you turn the main avatar on / off again.
Expected Behaviour:
There are two ways I could see this being solved:
## 1. Add something like easy Quest Switch to the SDK natively.
It doesn't need to be complicated just simply being able to say use this for PC, this for Android and this for iOS would be good enough for me.
Something like adding check marks to the blueprint component to say what platform this should be used for could work.
## 2. Better support tools like Easy Quest Switch
I could see checking if something has changed in the scene, e.g. if the avatar we are trying to build got disabled, and then looking for another avatar with the same ID be a decent solution.
This wouldn't be as nice as native integration, but it would be an okay work around.
Attachments:
Here is a screenshot of the error:
Chdata
For worlds too!