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

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


I am having the same issue. Were you ever able to figure out how to fix this?

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.

Same problem here? Help!