Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

TypeError: nPa is not a function

Discussion in 'WebGL' started by grizzlycorv, Mar 20, 2021.

  1. grizzlycorv

    grizzlycorv

    Joined:
    Nov 9, 2018
    Posts:
    19
    I am getting the following error when running a WebGL build and I neither a clue what to do with it nor how to solve it.

    Code (JavaScript):
    1. Invoking error handler due to
    2. TypeError: nPa is not a function
    3.     at Array.T6i (https://someurl/Build/WebGL%20Develop.asm.js:4:326253)
    4.     at Array.ZKk (https://someurl/Build/WebGL%20Develop.asm.js:40:23953)
    5.     at Object.MbZ [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:57:776341)
    6.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:348448)
    7.     at f2X (https://someurl/Build/WebGL%20Develop.asm.js:42:806953)
    8.     at i2X (https://someurl/Build/WebGL%20Develop.asm.js:42:807980)
    9.     at Q1Y (https://someurl/Build/WebGL%20Develop.asm.js:57:605159)
    10.     at Array.gin (https://someurl/Build/WebGL%20Develop.asm.js:30:661729)
    11.     at Object.ZcZ [as dynCall_vii] (https://someurl/Build/WebGL%20Develop.asm.js:57:784638)
    12.     at invoke_vii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:364062)
    13.     at Array.kRs (https://someurl/Build/WebGL%20Develop.asm.js:45:156209)
    14.     at Object.MbZ [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:57:776341)
    15.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:348448)
    16.     at lSs (https://someurl/Build/WebGL%20Develop.asm.js:45:174278)
    17.     at Array.Gvx (https://someurl/Build/WebGL%20Develop.asm.js:53:343388)
    18.     at olB (https://someurl/Build/WebGL%20Develop.asm.js:21:281468)
    19.     at Array.GBC (https://someurl/Build/WebGL%20Develop.asm.js:27:174338)
    20.     at Array.xDk (https://someurl/Build/WebGL%20Develop.asm.js:5:597473)
    21.     at Object.MbZ [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:57:776341)
    22.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:348448)
    23.     at f2X (https://someurl/Build/WebGL%20Develop.asm.js:42:806953)
    24.     at GFX (https://someurl/Build/WebGL%20Develop.asm.js:42:518784)
    25.     at M6a (https://someurl/Build/WebGL%20Develop.asm.js:6:748660)
    26.     at K6a (https://someurl/Build/WebGL%20Develop.asm.js:6:747107)
    27.     at RCc (https://someurl/Build/WebGL%20Develop.asm.js:14:349975)
    28.     at OCc (https://someurl/Build/WebGL%20Develop.asm.js:14:348320)
    29.     at LCc (https://someurl/Build/WebGL%20Develop.asm.js:14:347948)
    30.     at eJe (https://someurl/Build/WebGL%20Develop.asm.js:9:108512)
    31.     at Array.fRe (https://someurl/Build/WebGL%20Develop.asm.js:9:247362)
    32.     at u6I (https://someurl/Build/WebGL%20Develop.asm.js:32:612764)
    33.     at Array.t6I (https://someurl/Build/WebGL%20Develop.asm.js:32:612561)
    34.     at Object.BbZ [as dynCall_iiii] (https://someurl/Build/WebGL%20Develop.asm.js:57:774912)
    35.     at invoke_iiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:345848)
    36.     at tvx (https://someurl/Build/WebGL%20Develop.asm.js:53:341671)
    37.     at Array.Avx (https://someurl/Build/WebGL%20Develop.asm.js:53:343055)
    38.     at N5i (https://someurl/Build/WebGL%20Develop.asm.js:33:972266)
    39.     at Array.$RM (https://someurl/Build/WebGL%20Develop.asm.js:43:1574731)
    40.     at Array.OaJ (https://someurl/Build/WebGL%20Develop.asm.js:32:649298)
    41.     at Object.AdZ [as dynCall_viii] (https://someurl/Build/WebGL%20Develop.asm.js:57:788051)
    42.     at invoke_viii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:370675)
    43.     at rjQ (https://someurl/Build/WebGL%20Develop.asm.js:56:423045)
    44.     at Array.qjQ (https://someurl/Build/WebGL%20Develop.asm.js:56:421348)
    45.     at Object.meZ [as dynCall_viiiii] (https://someurl/Build/WebGL%20Develop.asm.js:57:793403)
    46.     at invoke_viiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:380217)
    47.     at Array.WRM (https://someurl/Build/WebGL%20Develop.asm.js:43:1574254)
    48.     at aIQ (https://someurl/Build/WebGL%20Develop.asm.js:26:126413)
    49.     at Array.QxF (https://someurl/Build/WebGL%20Develop.asm.js:50:402250)
    50.     at Array.OaJ (https://someurl/Build/WebGL%20Develop.asm.js:32:649298)
    51.     at Object.AdZ [as dynCall_viii] (https://someurl/Build/WebGL%20Develop.asm.js:57:788051)
    52.     at invoke_viii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:370675)
    Can anyone help me or at least point me in the right direction?

    Unity Version: 2020.3.0f1
    Compiled with Cloud build
     
    Last edited: Mar 21, 2021
  2. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    178
    Please tell me the dynCall_xxx() code
     
  3. grizzlycorv

    grizzlycorv

    Joined:
    Nov 9, 2018
    Posts:
    19
    I did some more debugging today and it seems like the dyncalls I was speaking about are working fine.

    I just recognized that the exception seems to be thrown because there's also a "Gu::ConvexMesh: Error computing mesh mass properties!" thown before as the "TypeError: nPa is not a function."-Exception is thrown. My feeling is that the "TypeError: nPa is not a function."-Exception occurs when rendering starts.
     
  4. grizzlycorv

    grizzlycorv

    Joined:
    Nov 9, 2018
    Posts:
    19
    After resolving the "Gu::ConvexMesh ..."-Exception I now get the following instead of the "TypeError: nPa is not a function."-Exception:


    Code (JavaScript):
    1. TypeError: Y9a is not a function,TypeError: Y9a is not a function
    2.     at Array.tck (https://someurl/Build/WebGL%20Develop.asm.js:4:326255)
    3.     at Array.p7l (https://someurl/Build/WebGL%20Develop.asm.js:29:203290)
    4.     at Object.jv6 [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:72:538172)
    5.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:352796)
    6.     at Pz4 (https://someurl/Build/WebGL%20Develop.asm.js:70:75451)
    7.     at Sz4 (https://someurl/Build/WebGL%20Develop.asm.js:70:76478)
    8.     at Az5 (https://someurl/Build/WebGL%20Develop.asm.js:70:714975)
    9.     at Array.$eC (https://someurl/Build/WebGL%20Develop.asm.js:33:606000)
    10.     at Object.Fw6 [as dynCall_vii] (https://someurl/Build/WebGL%20Develop.asm.js:72:547504)
    11.     at invoke_vii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:370441)
    12.     at Array.nSp (https://someurl/Build/WebGL%20Develop.asm.js:62:407388)
    13.     at Object.jv6 [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:72:538172)
    14.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:352796)
    15.     at mTp (https://someurl/Build/WebGL%20Develop.asm.js:62:422679)
    16.     at Array.bgy (https://someurl/Build/WebGL%20Develop.asm.js:61:271307)
    17.     at pjz (https://someurl/Build/WebGL%20Develop.asm.js:21:211403)
    18.     at Array.EJB (https://someurl/Build/WebGL%20Develop.asm.js:33:269644)
    19.     at Array.r_l (https://someurl/Build/WebGL%20Develop.asm.js:29:163766)
    20.     at Object.jv6 [as dynCall_iiiii] (https://someurl/Build/WebGL%20Develop.asm.js:72:538172)
    21.     at invoke_iiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:352796)
    22.     at Pz4 (https://someurl/Build/WebGL%20Develop.asm.js:70:75451)
    23.     at Sa4 (https://someurl/Build/WebGL%20Develop.asm.js:50:593826)
    24.     at oxb (https://someurl/Build/WebGL%20Develop.asm.js:6:868873)
    25.     at mxb (https://someurl/Build/WebGL%20Develop.asm.js:6:867320)
    26.     at t1c (https://someurl/Build/WebGL%20Develop.asm.js:20:437283)
    27.     at q1c (https://someurl/Build/WebGL%20Develop.asm.js:20:435628)
    28.     at n1c (https://someurl/Build/WebGL%20Develop.asm.js:20:435256)
    29.     at Cdf (https://someurl/Build/WebGL%20Develop.asm.js:10:516588)
    30.     at Array.xnf (https://someurl/Build/WebGL%20Develop.asm.js:10:683865)
    31.     at UjB (https://someurl/Build/WebGL%20Develop.asm.js:33:82071)
    32.     at Array.TjB (https://someurl/Build/WebGL%20Develop.asm.js:33:81866)
    33.     at Object._u6 [as dynCall_iiii] (https://someurl/Build/WebGL%20Develop.asm.js:72:536743)
    34.     at invoke_iiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:350196)
    35.     at Ofy (https://someurl/Build/WebGL%20Develop.asm.js:61:269591)
    36.     at Array.Xfy (https://someurl/Build/WebGL%20Develop.asm.js:61:270974)
    37.     at nbk (https://someurl/Build/WebGL%20Develop.asm.js:73:51554)
    38.     at Array.dfS (https://someurl/Build/WebGL%20Develop.asm.js:47:301218)
    39.     at Array.pyU (https://someurl/Build/WebGL%20Develop.asm.js:24:504617)
    40.     at Object.mx6 [as dynCall_viii] (https://someurl/Build/WebGL%20Develop.asm.js:72:551885)
    41.     at invoke_viii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:378572)
    42.     at uBW (https://someurl/Build/WebGL%20Develop.asm.js:39:158148)
    43.     at Array.tBW (https://someurl/Build/WebGL%20Develop.asm.js:39:156453)
    44.     at Object.by6 [as dynCall_viiiii] (https://someurl/Build/WebGL%20Develop.asm.js:72:557686)
    45.     at invoke_viiiii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:388860)
    46.     at Array._eS (https://someurl/Build/WebGL%20Develop.asm.js:47:300741)
    47.     at ouX (https://someurl/Build/WebGL%20Develop.asm.js:30:155291)
    48.     at Array.NOK (https://someurl/Build/WebGL%20Develop.asm.js:56:86662)
    49.     at Array.pyU (https://someurl/Build/WebGL%20Develop.asm.js:24:504617)
    50.     at Object.mx6 [as dynCall_viii] (https://someurl/Build/WebGL%20Develop.asm.js:72:551885)
    51.     at invoke_viii (https://someurl/Build/WebGL%20Develop.asm.framework.js:2:378572)
    Very weird, still absolutely no idea how to solve this or where it comes from...
     
unityunity