Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Uncaught TypeError: Cannot read property 'buffer' of undefined at processDataJob

Discussion in 'WebGL' started by liphttam1, May 4, 2020.

  1. liphttam1

    liphttam1

    Joined:
    Nov 11, 2014
    Posts:
    9
    I receive the following error when I implement the webgl export on my website:

    unityloader.js:formatted:3325 Uncaught TypeError: Cannot read property 'buffer' of undefined
    at processDataJob (unityloader.js:formatted:3325)
    at a.callback (unityloader.js:formatted:2908)
    processDataJob @ unityloader.js:formatted:3149
    a.callback @ unityloader.js:formatted:2225

    This issue has occurred seemingly randomly with differing builds. Sometimes it will appear and sometimes it will not. Anything that could point me in the right direction as to why this may happen would be greatly appreciated.

    My setup
    • Unity 2018.3.5f1
    • Win 10 - 64 bit

    Build Settings

    upload_2020-5-4_7-50-8.png

    upload_2020-5-4_7-49-52.png
     
  2. c2_unity_1

    c2_unity_1

    Joined:
    Dec 4, 2019
    Posts:
    2
    I am having the same issue. Were you ever able to figure out how to fix this?
     
  3. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    944
    Sorry, Unity 2018.3 is so old that I cannot recall if there was a bug related to here that we fixed. The code around this area has been rewritten for Unity 2020.1 new templates, so maybe try out latest Unity to see if the error persists there?

    If it does, then try posting the code in question, and preferably host a small repro online so others can take a look to help.
     
  4. sky4200

    sky4200

    Joined:
    Dec 6, 2020
    Posts:
    2
    Same problem here? Help!