# \#import

**URL:** https://forum.babylonjs.com/tag/import/162.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Not enough imports with side-effects when import WebGPU engine separately](https://forum.babylonjs.com/t/not-enough-imports-with-side-effects-when-import-webgpu-engine-separately/63761)

<div class="topic-metadata">

**Author:** [@gamedevenjoyer123](https://forum.babylonjs.com/u/gamedevenjoyer123)\
**Replies:** 4\
**Last updated:** [July 9, 2026, 1:00pm UTC](https://forum.babylonjs.com/t/not-enough-imports-with-side-effects-when-import-webgpu-engine-separately/63761 "2026-07-09T13:00:51Z")

</div>

Hello everyone! I am developing a game with babylon.js and recently I got a very non-intuitive and hard-to-find-out-why-that-thing-dont-work-omg bug. To make long story short - I have a planet (non-transparent material…

---

## [Can't import .glb/.gltf into Playground (from external sources like Github)](https://forum.babylonjs.com/t/cant-import-glb-gltf-into-playground-from-external-sources-like-github/63432)

<div class="topic-metadata">

**Author:** [@c4cc](https://forum.babylonjs.com/u/c4cc)\
**Replies:** 9\
**Last updated:** [May 13, 2026, 8:01pm UTC](https://forum.babylonjs.com/t/cant-import-glb-gltf-into-playground-from-external-sources-like-github/63432 "2026-05-13T20:01:24Z")

</div>

Pardon the noob question, I’m new to Babylon.js, how do I import a .glb or .gltf file from external sources? As the above screenshot, it’s not showing up in Playground. What did I do wrong, and how do I import .glb/.g…

---

## [How to import stl](https://forum.babylonjs.com/t/how-to-import-stl/63131)

<div class="topic-metadata">

**Author:** [@Trevor\_Orr](https://forum.babylonjs.com/u/Trevor_Orr)\
**Replies:** 1\
**Last updated:** [April 11, 2026, 8:33pm UTC](https://forum.babylonjs.com/t/how-to-import-stl/63131 "2026-04-11T20:33:28Z")

</div>

I was looking at importing stl’s and the couple of methods I found during search for how to do iit are apparently deprecated. So what if the proper method to use for importing a stl?

---

## [Importing WebGL-only or WebGPU-only](https://forum.babylonjs.com/t/importing-webgl-only-or-webgpu-only/60435)

<div class="topic-metadata">

**Author:** [@kzhsw](https://forum.babylonjs.com/u/kzhsw)\
**Replies:** 3\
**Last updated:** [February 23, 2026, 1:16pm UTC](https://forum.babylonjs.com/t/importing-webgl-only-or-webgpu-only/60435 "2026-02-23T13:16:20Z")

</div>

Background As recent development babylon.js is making dual-version shaders, one for WebGL, and one for WebGPU. But the shaders are imported via side effect and can not be tree-shaked by bundlers, that makes final package…

---

## [Unable to read splatsData of a Gaussian splatting mesh imported by ImportMeshAsync](https://forum.babylonjs.com/t/unable-to-read-splatsdata-of-a-gaussian-splatting-mesh-imported-by-importmeshasync/61892)

<div class="topic-metadata">

**Author:** [@Caner](https://forum.babylonjs.com/u/Caner)\
**Replies:** 2\
**Last updated:** [December 24, 2025, 12:48pm UTC](https://forum.babylonjs.com/t/unable-to-read-splatsdata-of-a-gaussian-splatting-mesh-imported-by-importmeshasync/61892 "2025-12-24T12:48:28Z")

</div>

Hello again! I’m trying to load and access Gaussian splatting mesh data, following Importing Gaussian splat files as base64 string. In this PG I’m loading two splat files: One from GaussianSplattingMesh constructor, ot…

---

## [Importing Gaussian splat files as base64 string](https://forum.babylonjs.com/t/importing-gaussian-splat-files-as-base64-string/61877)

<div class="topic-metadata">

**Author:** [@Caner](https://forum.babylonjs.com/u/Caner)\
**Replies:** 1\
**Last updated:** [December 22, 2025, 10:56am UTC](https://forum.babylonjs.com/t/importing-gaussian-splat-files-as-base64-string/61877 "2025-12-22T10:56:26Z")

</div>

Hello! I am trying to import local .splat/.sog/.ply etc. files as base64 strings, but browsedFile.type reads "" (empty string) and the following error occurs: Unable to load from data:;base64,...(long base64)... at err…

---

## [Vertex color support of binary STL format](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494)

<div class="topic-metadata">

**Author:** [@crd233](https://forum.babylonjs.com/u/crd233)\
**Replies:** 1\
**Last updated:** [July 14, 2025, 12:30pm UTC](https://forum.babylonjs.com/t/vertex-color-support-of-binary-stl-format/59494 "2025-07-14T12:30:37Z")

</div>

Stantard version of STL has no material support, but there are non-standard variations on the binary STL format for adding color information (see STL (file format) - Wikipedia). To be compared with, Three.js has the sup…

---

## [Cannot load an obj file](https://forum.babylonjs.com/t/cannot-load-an-obj-file/58243)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 5\
**Last updated:** [May 5, 2025, 1:19pm UTC](https://forum.babylonjs.com/t/cannot-load-an-obj-file/58243 "2025-05-05T13:19:58Z")

</div>

Hello, I cannot load obj’s from my local hard drive anymore. It used to work just a couple of days ago. Here is playground to demo the problem - click the browse button and try to load your obj file Please let me know…

---

## [Issue with ImportAnimationsAsync: How to Access original target Name after it's imported with null as target?](https://forum.babylonjs.com/t/issue-with-importanimationsasync-how-to-access-original-target-name-after-its-imported-with-null-as-target/55153)

<div class="topic-metadata">

**Author:** [@ToucheToucan](https://forum.babylonjs.com/u/ToucheToucan)\
**Replies:** 1\
**Last updated:** [December 3, 2024, 5:06pm UTC](https://forum.babylonjs.com/t/issue-with-importanimationsasync-how-to-access-original-target-name-after-its-imported-with-null-as-target/55153 "2024-12-03T17:06:59Z")

</div>

Hello BabylonJS community, I’m running into an issue when working with motion capture (mocap) animation data and BabylonJS’s ImportAnimationsAsync function. We have a process where the mesh is exported separately from t…

---

## [Save properties to JSON, download - Import from JSON and apply settings Playground (using BJS GUI)](https://forum.babylonjs.com/t/save-properties-to-json-download-import-from-json-and-apply-settings-playground-using-bjs-gui/54227)

<div class="topic-metadata">

**Author:** [@mawa](https://forum.babylonjs.com/u/mawa)\
**Replies:** 17\
**Last updated:** [October 21, 2024, 8:16am UTC](https://forum.babylonjs.com/t/save-properties-to-json-download-import-from-json-and-apply-settings-playground-using-bjs-gui/54227 "2024-10-21T08:16:31Z")

</div>

Dears, You know the quality of my dev skills :grin: (I actually should start all my posts with this :sweat\_smile: :joy:)… For a small project I’m about to finalize, I needed this feature where I can (simply) save a num…

---

## [Can load glb files in Chrome but not babylon files?](https://forum.babylonjs.com/t/can-load-glb-files-in-chrome-but-not-babylon-files/53407)

<div class="topic-metadata">

**Author:** [@ClementSXD](https://forum.babylonjs.com/u/ClementSXD)\
**Replies:** 13\
**Last updated:** [September 17, 2024, 9:32am UTC](https://forum.babylonjs.com/t/can-load-glb-files-in-chrome-but-not-babylon-files/53407 "2024-09-17T09:32:20Z")

</div>

Hi everyone, So far I’ve been working on my project locally on Frirefox, but I now need to deploy it on a server and test it on Chrome. Immediately I was met with the following error while attempting to load a .babylon …

---

## [Babylon doesn't import lights](https://forum.babylonjs.com/t/babylon-doesnt-import-lights/53349)

<div class="topic-metadata">

**Author:** [@ClementSXD](https://forum.babylonjs.com/u/ClementSXD)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 3:06pm UTC](https://forum.babylonjs.com/t/babylon-doesnt-import-lights/53349 "2024-09-11T15:06:03Z")

</div>

Hello, I’ve been importing the 3D model of a building I’ve modified in the Babylon Sandbox.I’ve tried both ‘Scene Export’ and GLTF ‘Exports’ to export a .babylon and a .glb file. Under ‘GLTF Exports’ I’ve made sure to t…

---

## [Skeleton Misaligned with Mesh After Import](https://forum.babylonjs.com/t/skeleton-misaligned-with-mesh-after-import/52673)

<div class="topic-metadata">

**Author:** [@onekit](https://forum.babylonjs.com/u/onekit)\
**Replies:** 3\
**Last updated:** [August 9, 2024, 11:59pm UTC](https://forum.babylonjs.com/t/skeleton-misaligned-with-mesh-after-import/52673 "2024-08-09T23:59:03Z")

</div>

I researched the forum for my issue and saw similar problems, but I couldn’t apply other solutions to my situation. Similar issue: Here’s the problem I’m facing. I suspected that the issue might be with the GLB mode…

---

## [ImportMesh from babylon file](https://forum.babylonjs.com/t/importmesh-from-babylon-file/52021)

<div class="topic-metadata">

**Author:** [@acero](https://forum.babylonjs.com/u/acero)\
**Replies:** 12\
**Last updated:** [July 15, 2024, 7:40am UTC](https://forum.babylonjs.com/t/importmesh-from-babylon-file/52021 "2024-07-15T07:40:19Z")

</div>

Hi, I am importing babylon file with BABYLON.SceneLoader.ImportMesh, it loads without errors but without textures. I double checked that babylon json file have stored textures in base64 format, it is 170Mb in size. I …

---

## [Instantiate a glb animation in ImportMeshAsync](https://forum.babylonjs.com/t/instantiate-a-glb-animation-in-importmeshasync/50997)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 3\
**Last updated:** [June 3, 2024, 3:43pm UTC](https://forum.babylonjs.com/t/instantiate-a-glb-animation-in-importmeshasync/50997 "2024-06-03T15:43:48Z")

</div>

Hello, I want to instantiate a glb animation in ImportMeshAsync(), but the scaling is incorrect. I expect to achieve this result: Can you please let me know if there is a limitation with ImportMeshAsync(), and to in…

---

## [Import .obj model to scene](https://forum.babylonjs.com/t/import-obj-model-to-scene/50911)

<div class="topic-metadata">

**Author:** [@hbwow123](https://forum.babylonjs.com/u/hbwow123)\
**Replies:** 24\
**Last updated:** [June 3, 2024, 1:49pm UTC](https://forum.babylonjs.com/t/import-obj-model-to-scene/50911 "2024-06-03T13:49:13Z")

</div>

My obj format model has only one rectangle, which is a line. like this in blender I imported this model into the babylon sandbox and found that it became a rectangular face instead of a line. I would like to ask…

---

## [Change material in the model during asynchronous loading](https://forum.babylonjs.com/t/change-material-in-the-model-during-asynchronous-loading/49170)

<div class="topic-metadata">

**Author:** [@a.dzhakhangirov](https://forum.babylonjs.com/u/a.dzhakhangirov)\
**Replies:** 7\
**Last updated:** [April 1, 2024, 5:30pm UTC](https://forum.babylonjs.com/t/change-material-in-the-model-during-asynchronous-loading/49170 "2024-04-01T17:30:48Z")

</div>

Hi, help me, please! In my example, I change the color of the alien’s shirt during loading SceneLoader.ImportMesh. How do I change the material on the model when loading asynchronously - SceneLoader.ImportMeshAsync? Aft…

---

## ["No such file or directory" ... "./build/HavokPhysics.wasm"](https://forum.babylonjs.com/t/no-such-file-or-directory-build-havokphysics-wasm/48476)

<div class="topic-metadata">

**Author:** [@thomas](https://forum.babylonjs.com/u/thomas)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 5:17am UTC](https://forum.babylonjs.com/t/no-such-file-or-directory-build-havokphysics-wasm/48476 "2024-03-04T05:17:29Z")

</div>

I’m getting this error in my server when trying to add Havok to my project: ENOENT: No such file or directory errno: -2 syscall: "open" path: "./build/HavokPhysics.wasm" And this error in console: index.js:4107…

---

## [How to display proper model hierarchy](https://forum.babylonjs.com/t/how-to-display-proper-model-hierarchy/47666)

<div class="topic-metadata">

**Author:** [@Corazone777](https://forum.babylonjs.com/u/Corazone777)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 3:52pm UTC](https://forum.babylonjs.com/t/how-to-display-proper-model-hierarchy/47666 "2024-01-30T15:52:04Z")

</div>

Hi all, I would like to display the imported model hierarchy correctly like in the inspector with nodes and children, I tried mesh.getDescendants() and mesh.getChildTransformNodes() but i only get a total list back inste…

---

## [ASCII STL files fail to load with no error using ImportMeshAsync](https://forum.babylonjs.com/t/ascii-stl-files-fail-to-load-with-no-error-using-importmeshasync/47283)

<div class="topic-metadata">

**Author:** [@Sheap](https://forum.babylonjs.com/u/Sheap)\
**Replies:** 1\
**Last updated:** [January 17, 2024, 11:14am UTC](https://forum.babylonjs.com/t/ascii-stl-files-fail-to-load-with-no-error-using-importmeshasync/47283 "2024-01-17T11:14:49Z")

</div>

I am unable to load ASCII STL files. Error recreated here: https://playground.babylonjs.com/#37CYRE#1 (please note, this uses the file system API to load the file, so only works in chrome based browsers). It works as e…

---

## [Server can't find folder, only files](https://forum.babylonjs.com/t/server-cant-find-folder-only-files/46595)

<div class="topic-metadata">

**Author:** [@Shirhix](https://forum.babylonjs.com/u/Shirhix)\
**Replies:** 20\
**Last updated:** [January 8, 2024, 10:23pm UTC](https://forum.babylonjs.com/t/server-cant-find-folder-only-files/46595 "2024-01-08T22:23:19Z")

</div>

Hey, I’m currently working on implementing a server as a provider using Node/Express. I’ve tried this before and never has it worked, failing at the exact same spot everytime. When starting the server and connecting t…

---

## [Regarding .babylon file format (scene import/export using editor)](https://forum.babylonjs.com/t/regarding-babylon-file-format-scene-import-export-using-editor/44852)

<div class="topic-metadata">

**Author:** [@murphy](https://forum.babylonjs.com/u/murphy)\
**Replies:** 1\
**Last updated:** [October 12, 2023, 7:23pm UTC](https://forum.babylonjs.com/t/regarding-babylon-file-format-scene-import-export-using-editor/44852 "2023-10-12T19:23:32Z")

</div>

Hello, ive recently been experimenting with the scene export/import functionality especially in combination with the community maintained Babylon.JS Editor (v4). something that ive noticed is that some scene components…

---

## [MIME Type Error When Importing GLB File on Apache Server](https://forum.babylonjs.com/t/mime-type-error-when-importing-glb-file-on-apache-server/42908)

<div class="topic-metadata">

**Author:** [@gotanidea](https://forum.babylonjs.com/u/gotanidea)\
**Replies:** 13\
**Last updated:** [August 2, 2023, 3:36pm UTC](https://forum.babylonjs.com/t/mime-type-error-when-importing-glb-file-on-apache-server/42908 "2023-08-02T15:36:23Z")

</div>

I use the following line to import a GLB file: import chair from “…/src/assets/Chair.glb”; I run it on an Apache server. On Microsoft Edge, I get this error: Failed to load module script: Expected a JavaScript module…

---

## [Loading .babylon scene as a child of a specific scene graph node](https://forum.babylonjs.com/t/loading-babylon-scene-as-a-child-of-a-specific-scene-graph-node/42328)

<div class="topic-metadata">

**Author:** [@HowdyLuda](https://forum.babylonjs.com/u/HowdyLuda)\
**Replies:** 22\
**Last updated:** [July 31, 2023, 11:08am UTC](https://forum.babylonjs.com/t/loading-babylon-scene-as-a-child-of-a-specific-scene-graph-node/42328 "2023-07-31T11:08:22Z")

</div>

Hi there, I would like to export .babylon files for many objects in my game, load each .babylon file as needed in-game, and then apply transforms to the root of each .babylon scene. Is there a way to load all of the sce…

---

## [Double slash in cannonJSPlugin.js may lead to 404 Not Found](https://forum.babylonjs.com/t/double-slash-in-cannonjsplugin-js-may-lead-to-404-not-found/42637)

<div class="topic-metadata">

**Author:** [@welko](https://forum.babylonjs.com/u/welko)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 10:12am UTC](https://forum.babylonjs.com/t/double-slash-in-cannonjsplugin-js-may-lead-to-404-not-found/42637 "2023-07-24T10:12:03Z")

</div>

In @babylon/core version 6.13.0 (installed with npm), there is one file that contains an import with a double forward slash that is preventing Babylon.js from running with some servers. The file in question is: @babylo…

---

## [React import 'createStandardMaterial' is not defined](https://forum.babylonjs.com/t/react-import-createstandardmaterial-is-not-defined/41916)

<div class="topic-metadata">

**Author:** [@opencity](https://forum.babylonjs.com/u/opencity)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 1:47pm UTC](https://forum.babylonjs.com/t/react-import-createstandardmaterial-is-not-defined/41916 "2023-06-26T13:47:13Z")

</div>

newb here thanks for any info Attempting react / babylon.js integration Cannot figure how to import createStandardMaterial error ‘createStandardMaterial’ is not defined code ---- import React from “react”; import …

---

## [Help Needed with 404 Error in Babylon.js Project with Webpack Dev Server](https://forum.babylonjs.com/t/help-needed-with-404-error-in-babylon-js-project-with-webpack-dev-server/41707)

<div class="topic-metadata">

**Author:** [@Deny\_Heam](https://forum.babylonjs.com/u/Deny_Heam)\
**Replies:** 31\
**Last updated:** [June 23, 2023, 9:17pm UTC](https://forum.babylonjs.com/t/help-needed-with-404-error-in-babylon-js-project-with-webpack-dev-server/41707 "2023-06-23T21:17:15Z")

</div>

Hello Babylon.js Community, I’m working on a Babylon.js project using webpack and webpack-dev-server, and I’ve run into a persistent issue that I hope you might be able to help me with. Whenever I try to load a .glb fi…

---

## [Loading large files on mobile causes error](https://forum.babylonjs.com/t/loading-large-files-on-mobile-causes-error/41842)

<div class="topic-metadata">

**Author:** [@Sarrus4x4](https://forum.babylonjs.com/u/Sarrus4x4)\
**Replies:** 4\
**Last updated:** [June 22, 2023, 12:27pm UTC](https://forum.babylonjs.com/t/loading-large-files-on-mobile-causes-error/41842 "2023-06-22T12:27:56Z")

</div>

Hello Forum :slight\_smile: In this PlayGround I am importing a rather large glb file (~20MB) and it causes errors when initially loading on mobile devices. I used different laptops, and it worked, but on all the mobile …

---

## [Setting receiveShdaows for imported mesh is not working](https://forum.babylonjs.com/t/setting-receiveshdaows-for-imported-mesh-is-not-working/41771)

<div class="topic-metadata">

**Author:** [@hudidit](https://forum.babylonjs.com/u/hudidit)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 11:45am UTC](https://forum.babylonjs.com/t/setting-receiveshdaows-for-imported-mesh-is-not-working/41771 "2023-06-21T11:45:30Z")

</div>

Hi everyone. I’m learning to work with “imported meshes” but I’m running into a problem. I created a simple scene with light and shadow. They work as expected for built-in meshes. However, setting receiveShdaows = tru…

---

## [Error loading player: Unable to load from](https://forum.babylonjs.com/t/error-loading-player-unable-to-load-from/40857)

<div class="topic-metadata">

**Author:** [@Deny\_Heam](https://forum.babylonjs.com/u/Deny_Heam)\
**Replies:** 20\
**Last updated:** [May 18, 2023, 1:20pm UTC](https://forum.babylonjs.com/t/error-loading-player-unable-to-load-from/40857 "2023-05-18T13:20:06Z")

</div>

Hi! I am new to the Babylon Dev scene and I am working on my first Babylon Game, a warship game. I got the world and stuff working, but I got problems during implemention of the player model. I getting following error w…

[Next page](https://forum.babylonjs.com/tag/import/162.md?match_all_tags=true&page=1&tags%5B%5D=import)
