Exception with a unity app on Unity Cloud Build

1 0 0


We are developing a Unity application that uses your Unity buy plugin (https://shopify.dev/custom-storefronts/tools/unity-buy).It turns out we are facing a build issue when using the Unity Cloud Build infrastructure:The build seems to fail because the method OnLoad from file ShopifyOnboardingPanel.cs tries to show a window while the builder, started from command line, is headless.

The code then fails with a Null Reference Exception at line 59 of the same file because of the Styles field not being initialized.Could you pleaase provide insights on how to fix that issue ?

Kind regards,

Replies 0 (0)