Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

webgl build crash with DoTween

Discussion in '2022.1 Beta' started by Wailander, Nov 17, 2021.

  1. Wailander

    Wailander

    Joined:
    May 2, 2017
    Posts:
    12
    Importing DoTween on an empty project make the webgl app crash on startup.
    I opened a ticket here too as I don't understand the cause. https://github.com/Demigiant/dotween/issues/525

    The error :
    RuntimeError: index out of bounds
    il2cpp::metadata::Il2CppTypeHash::Hash(Il2CppType const*)@http://localhost:61319/Build/Build.wasm:wasm-function[926]:0x58171
    il2cpp::metadata::Il2CppGenericInstHash::eek:perator()(Il2CppGenericInst const*) const@http://localhost:61319/Build/Build.wasm:wasm-function[927]:0x58265
    dense_hashtable<std::__2::pair<KeyWrapper<il2cpp::metadata::Il2CppSignature const> const, void ()()>, KeyWrapper<il2cpp::metadata::Il2CppSignature const>, il2cpp::metadata::Il2CppSignatureHash, dense_hash_map<KeyWrapper<il2cpp::metadata::Il2CppSignature const>, void ()(), il2cpp::metadata::Il2CppSignatureHash, KeyWrapper<il2cpp::metadata::Il2CppSignature const>::EqualsCompareril2cpp::metadata::Il2CppSignatureCompare, std::__2::allocator<std::__2::pair<KeyWrapper<il2cpp::metadata::Il2CppSignature const> const, void ()()> > >::SelectKey, KeyWrapper<il2cpp::metadata::Il2CppSignature const>::EqualsCompareril2cpp::metadata::Il2CppSignatureCompare, std::__2::allocator<std::__2::pair<KeyWrapper<il2cpp::metadata::Il2CppSignature const> const, void ()()> > >::find_position(KeyWrapper<il2cpp::metadata::Il2CppSignature const> const&) const@http://localhost:61319/Build/Build.wasm:wasm-function[23774]:0x67e01d
    il2cpp::vm::MetadataCache::Initialize()@http://localhost:61319/Build/Build.wasm:wasm-function[23660]:0x678873
    dynCall_i@http://localhost:61319/Build/Build.wasm:wasm-function[24192]:0x6941ac
    createExportWrapper/<@http://localhost:61319/Build/Build.framework.js:1035:20
    invoke_i@http://localhost:61319/Build/Build.framework.js:13595:10
    main@http://localhost:61319/Build/Build.wasm:wasm-function[6120]:0x2e54a9
    createExportWrapper/<@http://localhost:61319/Build/Build.framework.js:1035:20
    callMain@http://localhost:61319/Build/Build.framework.js:15256:26
    doRun@http://localhost:61319/Build/Build.framework.js:15299:29
    run@http://localhost:61319/Build/Build.framework.js:15311:3
    runCaller@http://localhost:61319/Build/Build.framework.js:15239:18
    removeRunDependency@http://localhost:61319/Build/Build.framework.js:990:4
    unityFramework/</unityFileSystemInit</<@http://localhost:61319/Build/Build.framework.js:60:12
    doCallback@http://localhost:61319/Build/Build.framework.js:4381:11
    done@http://localhost:61319/Build/Build.framework.js:4392:15
    reconcile@http://localhost:61319/Build/Build.framework.js:3730:11
    syncfs/</<@http://localhost:61319/Build/Build.framework.js:3519:11
    @http://localhost:61319/Build/Build.framework.js:3608:14

    Thanks.
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,937