Environment:
-
Viewer URL: https://viewer.shapediver.com/v2/branch/bug/snap/sdv.concat.min.js
-
Affected environments: All (local dev, production)
-
No code changes were made on our side, this started occurring without any deployment
Description:
The ShapeDiver viewer crashes during initialization when constructing ParametricViewer. The 3D viewer fails to load and the application stays on the loading screen indefinitely. The issue is constantly happening, affecting our production environments.
Error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘dispose’)
Stack trace:
at K.destroy (sdv.concat.min.js:2233:365)
at E.destroy (sdv.concat.min.js:2665:59)
at m.removeThreeDManager (sdv.concat.min.js:2719:179)
at m.createThreeDManager (sdv.concat.min.js:2716:487)
at module$src$app$ViewerApp.default (sdv.concat.min.js:3300:222)
at ParametricViewer$$module$build$package.ParametricViewer (sdv.concat.min.js:3314:200)
Reproduction:
The crash occurs at viewer construction with minimal settings:
new window.SDVApp.ParametricViewer({
container: \[containerElement\]
})
Impact:
-
Blocks the entire application, 3D viewer never loads
-
Affects all users across all environments
-
Started occurring around April 2-3, 2026
Notes:
- The issue appears to be in createThreeDManager calling removeThreeDManager, destroy on an object that hasn’t been fully initialized yet
Thank you,
Ionel Cimpan
Summerwood Products