this.payloadHandler.handlePayload is not a function
See original GitHub issueDescription of the problem
When loading a .obj file with OBJLoader2Parallel
, an uncaught TypeError is thrown.
Uncaught TypeError: this.payloadHandler.handlePayload is not a function
processMessage WorkerRunner.js:156
scopedRunner WorkerRunner.js:137
WorkerRunner WorkerRunner.js:141
buildWorkerCode OBJLoader2Parallel.js:115
parse OBJLoader2Parallel.js:176
fileLoaderOnLoad OBJLoader2.js:303
load three.module.js:36370
load three.module.js:36348
load OBJLoader2.js:310
load OBJLoader2Parallel.js:154
The environment is created by create-react-app
’s dev command (no minificaton) but I suspect it would appear in the prod build as well. I believe this is directly related to https://github.com/mrdoob/three.js/pull/18356. Perhaps the issue wasn’t fully fixed despite my telling @kaisalmen that it was.
Three.js version
- r117.1 (I’m locked to this currently)
- presumably latest as well since changelogs don’t reflect anything that would impact this but I will verify if I get time.
webpack@4.42.0
react-scripts@3.4.1
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
'selectedHandler' is not a function, Node JS - Stack Overflow
I am a newbie with Node JS and i recently made all the APIs which are working exactly as i want. However, now...
Read more >TypeError: payload.forEach is not a function · Issue #64 - GitHub
I'm getting an error TypeError: payload.forEach is not a function parsing the response from a JSON API endpoint.
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >Troubleshooting payloads - AWS Lambda
An incorrect type or missing attribute causes a runtime error. Create tests to ensure that your function handles larger payload sizes. The maximum...
Read more >Handling user interaction in your Slack apps
The app receives and processes the interaction payload. ... You'll need to add a URL that you can set up to handle these...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍
The model was loaded every time. Honestly, I don’t really understand why the error shows up in some cases. If you observe it beyond R117 and Chromium based browser 85+, please let me know.