hippogamesunity / HeroEditorHub

Support for Hero Editor assets
18 stars 0 forks source link

Fails to build to android (api >28) #182

Closed SquirrellyBits closed 1 year ago

SquirrellyBits commented 1 year ago

We've encountered an issue where this asset does not compile on android. We're using unity 2021.3.16 with burst 1.8.2 and a build target of android api >28. The assembly causes an exception with burst: ---> (Inner Exception #0) System.ArgumentException: An item with the same key has already been added.

To reproduce:

  1. Create an empty 2d urp project in unity 2021.3.16,
  2. import the hero-editor asset
  3. include the testroom scene in the build.
  4. Attempt to build to android and it will fail.
SquirrellyBits commented 1 year ago

Here's the testroom build log: message.txt

hippogamesunity commented 1 year ago

It looks Burst has an issue with obfuscated DLLs https://forum.unity.com/threads/error-after-update-to-unity-2021-3-16f1-lts.1374864/#post-8728260 They should fix it in next updates. As a workaround, don't use Burst or try older Unity versions.