How to import b3dm file to Unreal Engine with Cesium?

I add “Blank 3D Tiles Tileset” on scene in UE. After add URI in format file///C:/…/Model_1c6.json which is next to the Model_1c6.b3dm file. Added light and dynamic camera from cesium on the scene. Nothing happens after launch(The camera and light are working, but the model is not displayed). I tried to change forman to .b3dm in url, no result. These files are perfectly displayed in the web application, which is written in CesiumJS. How to display b3dm file correctly in UE? Thanks!

Hi @for.kostin,

Take a look in the Output Log, there should be a message stating what went wrong. Unlike CesiumJS, Cesium for Unreal doesn’t support b3dms containing old glTF version 1 models (which were only ever supported in pre-release versions of 3D Tiles), so there’s a decent chance you’ll see a message to that effect. There are other possible problems as well, though.

If there’s no message, you may just need to double-click the tileset in the level outliner to zoom the camera to the model.

Kevin

Thanks for request. Log error:

LogHttp: Warning: 0000015AB8C16400: request failed, libcurl error: 6 (Couldn’t resolve host name)
LogHttp: Warning: 0000015AB8C16400: libcurl info message cache 0 (Could not resolve host: file)
LogHttp: Warning: 0000015AB8C16400: libcurl info message cache 1 (Closing connection 1518)
LogCesium: Error: [2021-10-14 11:41:41.141] [error] [Tileset.cpp:544] Unhandled error for tileset file///C:/Users/VadimKK/Desktop/TestForUnreal/Model_1c6/Model_1c6.json: Connection failed.

@Kevin_Ring, hi!
I fixed that problem. My b3dm files on version 1 :frowning: how can I get an older version of CesiumUE that would support this? Thanks!

Cesium for Unreal is a new product, there’s no old version that supports glTF 1.0. I don’t have any first-hand experience, but other users have successfully upgraded their glTF 1.0 tileset to 2.0 by using this upgrade tool:

1 Like

I am getting the exact same problem. The b3dm files are next to the json which can be opened easily in TerraExplorer. MY glTF are 2.0. hum…

LogHttp: Warning: 0000028426BE5600: request failed, libcurl error: 3 (URL using bad/illegal format or missing URL)
LogHttp: Warning: 0000028426BE5600: libcurl info message cache 0 (Rebuilt URL to: C:\Users\Avion.XEOS\Music\Cesium_Lemay_3500StJacques_v3_med\Tile-346-122-1-1/)
LogHttp: Warning: 0000028426BE5600: libcurl info message cache 1 (Port number ended with '')
LogHttp: Warning: 0000028426BE5600: libcurl info message cache 2 (Closing connection -1)
LogCesium: Error: [2023-07-13 11:01:01.781] [error] [Tileset.cpp:1442] Unhandled error for asset C:\Users\Avion.XEOS\Music\Cesium_Lemay_3500StJacques_v3_med\Tile-346-122-1-1: Request failed.

@xeos_eric your problem looks to be different, caused by an incorrect file URL format. This tutorial explains how to format file paths for use with Cesium for Unreal: